-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make all actions honor the optional argument -g or --group
This make it possible to append '-g' or '--groups' followed by space separated group names to any CLI action command, and the set of generated files affected by the command will be limited to the selected groups ('examples', 'tutorial', and 'demos'). Default is all groups. A simple help text is added for each of the arguments (action and groups) to improve the autogenerated CLI help output. This is a squash rebase of these commits: - p ec29076 Make all actions honor the optional argument -generate - s e3ad11a Move open_file_append() outside the if to avoid re-open - s ba4b900 Avoid including readme in all file groups - s 1ca8bd1 Simplify code - s a9e7337 Rename some variables to better reflect their contents and relations - s 58a54b2 Move test to include readme inside collect_filenames() function - s f2a0db0 Improve status output by adding group name - s d3b299b Rename -generate option to -g/--groups and add argument help
- Loading branch information
Showing
1 changed file
with
48 additions
and
44 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