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 '--include-hidden-tasks' option to enhance '-T' and '-D' #99

Closed

Conversation

njonsson
Copy link

Since we can invoke tasks that do not have descriptions, we ought to be able to display and describe them, too.

The Cape project would really benefit from this feature, since Cape uses shell integration to enumerate Rake tasks. (Why does Cape resort to shell integration instead of calling the Rake API? Because Cape provides Capistrano-to-Rake integration, and must therefore run under the auspices of Capistrano, whose DSL treads on Rake’s toes.)

The new --include-hidden-tasks command-line option has no effect by itself. But when it is specified together with -T (--tasks) or -D (--describe), it causes Rake to display tasks that lack descriptions as well as those that have descriptions.

Since we can invoke tasks that do not have descriptions, we ought to be
able to display and describe them, too.

The new '--include-hidden-tasks' command-line option has no effect by
itself. But when it is specified together with '-T' ('--tasks') or '-D'
('--describe'), it causes Rake to display tasks that lack descriptions
as well as those that have descriptions.
@jimweirich
Copy link
Owner

Added an --all option that does similar things as part of the fix for the --where command.

@jimweirich jimweirich closed this Oct 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants