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

Already on GitHub? Sign in to your account

Add '--include-hidden-tasks' option to enhance '-T' and '-D' #99

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

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.

Add '--include-hidden-tasks' option to enhance '-T' and '-D'
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.
Owner

jimweirich commented Oct 17, 2012

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