Controller aliases #131

Closed
derks opened this Issue Jul 12, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@derks
Member

derks commented Jul 12, 2012

Need the ability to create aliases for controllers.

$ helloworld --help
usage: helloworld  -opt1 --opt2=VAL [arg1] [arg2] ...

Hello World is Amazing

commands:

  mycontroller (aliases: mc)
    some description of my controller

optional arguments:
  -h, --help   show this help message and exit
  --debug      toggle debug output
  --quiet      suppress all output

I should be able to call 'helloworld mc' just the same as 'helloworld mycontroller'. Using MyController().default() alias doesn't work because that would be 'helloworld mycontroller defaults_alias'.

@ghost ghost assigned derks Jul 12, 2012

@yaccz

This comment has been minimized.

Show comment
Hide comment

yaccz commented Jul 12, 2012

+1

derks pushed a commit that referenced this issue Jul 13, 2012

@derks derks closed this Jul 13, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment