Skip to content

Pipeline: better help string for tiny command#263

Merged
taimontgomery merged 4 commits intomasterfrom
issue-260
Dec 15, 2022
Merged

Pipeline: better help string for tiny command#263
taimontgomery merged 4 commits intomasterfrom
issue-260

Conversation

@AlexTate
Copy link
Member

Closes #260

Note: branch issue-260 is derived from issue-258. PR #259 needs to be closed first, then this PR needs to have its base branch toggled in order to display an accurate record of file changes

…n argparse `description` fields. Single newlines are replaced with a space as they are in vanilla argparse, and this is because our docstrings are length-limited per PEP8, but we don't want to maintain this same width when displayed in the terminal. Instead, help string content should adjust to fill the width of the terminal window. However, double newlines (\n\n) should be treated as intentional and should be preserved in the help string. Similarly, lines that begin with whitespace are likely intentional and desired; therefore indents following newlines are also preserved.
…ansparent" help configuration for argparse. You can still pass -h or --help but now the option itself isn't listed in the helpstring because it's essentially irrelevant for our userbase
…ion is now better organized, more complete, and up to date. Also changed setup-cwl's "None"/"none" argument to simply be case-insensitive
@AlexTate AlexTate changed the base branch from master to issue-258 December 11, 2022 17:29
@AlexTate AlexTate changed the base branch from issue-258 to master December 14, 2022 22:51
@taimontgomery
Copy link
Collaborator

Tested successfully on ram1 dataset. Reviewed documentation.

@taimontgomery taimontgomery merged commit 121d807 into master Dec 15, 2022
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.

Pipeline: better help string for tiny command

2 participants