You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was going to do this as part of #22 but it's a bit less simple than I was hoping thanks to the highly builtin-data-struct-and-function oriented nature of the core Fabric code.
Basically, the feature description is: replace the docstring portion of fab --list output, with e.g. (alias of 'footask'), for line items which are aliases and not real functions. Ditto for default tasks, though it should probably say something other than "alias" as it's not using alias=. (defaults to 'footask') maybe?
fab --list -F short should obviously omit this as it's mostly used for tab completion.
fab --list -F nested currently does not display any docstrings at all, and also lists all modules, requiring us to add some notation to make it clear which modules have default tasks. Perhaps a sigil on the task itself, though that's a little messy; or run with the above idea for regular --list and display notes in place of docstrings. Given that docstrings probably won't fit with this format ever (since nesting means much less RHS space) that's probably not a terrible idea.
Originally submitted by Jeff Forcier (bitprophet) on 2011-07-12 at 02:11pm EDT
Description
Was going to do this as part of #22 but it's a bit less simple than I was hoping thanks to the highly builtin-data-struct-and-function oriented nature of the core Fabric code.
Basically, the feature description is: replace the docstring portion of
fab --list
output, with e.g.(alias of 'footask')
, for line items which are aliases and not real functions. Ditto for default tasks, though it should probably say something other than "alias" as it's not usingalias=
.(defaults to 'footask')
maybe?fab --list -F short
should obviously omit this as it's mostly used for tab completion.fab --list -F nested
currently does not display any docstrings at all, and also lists all modules, requiring us to add some notation to make it clear which modules have default tasks. Perhaps a sigil on the task itself, though that's a little messy; or run with the above idea for regular--list
and display notes in place of docstrings. Given that docstrings probably won't fit with this format ever (since nesting means much less RHS space) that's probably not a terrible idea.Originally submitted by Jeff Forcier (bitprophet) on 2011-07-12 at 02:11pm EDT
Relations
The text was updated successfully, but these errors were encountered: