Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add alias/default info to fab --list output #387

Closed
bitprophet opened this issue Aug 19, 2011 · 1 comment
Closed

Add alias/default info to fab --list output #387

bitprophet opened this issue Aug 19, 2011 · 1 comment

Comments

@bitprophet
Copy link
Member

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 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

Relations

@bitprophet
Copy link
Member Author

This is obviated entirely by Invoke 0.23 and up 🎉

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

No branches or pull requests

1 participant