Repository navigation
mcpplibs.cmdline 0.0.7: subcommands in groups and in one order for help, snapshot and messages; a help epilogue - #974
Merged
Merged
Conversation
…lp, snapshot and messages; a help epilogue - `pkgs/c/cmdline.lua`: 0.0.7 on linux, macosx and windows; GitHub and GitCode serve the same tag archive (sha256 2e998d70…); the Form B source glob covers the layout. - `tests/examples/cmdline` moves to 0.0.7 and checks the grouped, by-name listing without the hidden command. - CHANGELOG.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
mcpplibs.cmdline 0.0.7 (mcpplibs/cmdline#15): a help can list its subcommands in groups and by name, and say what comes after the list.
app.group(s)on a subcommand is the heading its parent's help lists it under;app.help_options({ .order = alphabetical, .ungrouped = "..." })orders a group's commands by name and gives the rest a heading;app.help_epilogue(s)is printed after the list. One listing servesprint_help,snapshot(app)and the message that a subcommand is required, so a tool's help, its completions and its messages agree. Nothing opted in, the help is byte-identical to 0.0.6.pkgs/c/cmdline.lua: 0.0.7 on linux, macosx and windows. GitHub and GitCode serve the same tag archive (sha2562e998d70953c0da856dc2131902414ab25bc9faafd0bae255290d833ad0e9b49); the Form B source glob covers the layout (0.0.7 changessrc/cmdline.cppmonly).tests/examples/cmdlinemoves to 0.0.7 and checks that the listing groups its subcommands, by name inside each, without the hidden one.Verification:
check_mirror_urls,check_package_name,check_reserved_namespace,check_cross_package_refs,check_platform_version_parity,check_duplicate_versions) pass onpkgs/*/*.lua;bash tests/run_members.sh cmdlinepasses: mcpp resolvedmcpplibs:cmdline@0.0.7through this entry, downloaded the archive from the GitCode mirror (the entry's sha256), compiled it, and the consumer test answeredcmdline: ok.