forked from tadzik/rakudobrew
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue tadzik#91. The idea is to let the help branch to introspect the POD documentation for a specific command in order to see if some documentation can be found. If documentation can be found, it is shown. This allows for: - invoking help on subcommands, for instance rakudobrew help nuke - invoking help without any argument, that as already done simply prints the list of commands - invoking an alien command, that results in printing out the list of available commands. This requires an explicit dependency on Pod::Usage. The help is provided as POD documentation with sections named 'COMMAND' and the name of the command as passed to rakudobrew. The nuke command has been introduced as an example.
- Loading branch information
Showing
1 changed file
with
81 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters