code: func (c *GetStatesCmd) Run(app subcommands.Application, args []string, env subcommands.Env) int {
  	if c.prefix == "" {
  		if !c.f.tsv {
  			fmt.Println("State")
  		}
  		for _, state := range common.ValidStates() {
  			fmt.Println(state.Name())
  		}
  		return 0
  	}
  	state, err := common.GetState(c.prefix)
  	if err != nil {
  		return 1
  	}
  	if !c.f.tsv {
  		fmt.Println("State")
  	}
  	fmt.Println(state.Name())
  	return 0
  }
docs: // Run runs the command to get state.