-
Updated
Aug 16, 2021 - Rust
argument-parser
Here are 340 public repositories matching this topic...
-
Updated
Jun 28, 2021 - TypeScript
-
Updated
Aug 14, 2021 - Kotlin
-
Updated
Jul 26, 2021 - C++
-
Updated
Aug 16, 2021 - C++
-
Updated
Jul 22, 2021 - C++
The decorator would allow the use of async functions by running them using loop.run_until_complete. This should be implemented in a way that doesn't prevent execution if asyncio isn't present. (import within the decorator will do)
I guess there is no real consistent scheme, but quite a few tools capitalize the help section headers.
So maybe a flag could be added to do the same when using kotlin-argparser.
So showiing
Usage: [-h] [-a] IMAGE-DIRECTORY MARKDOWN-FILES...
Optional arguments:
-h, --help show this help message and exit
-a, --auto Automatically remove orphan images
Position
-
Updated
Jan 22, 2021 - C++
-
Updated
Apr 29, 2021 - C++
Apparently GoDoc cannot show documentation for exported methods of un-exported structs, and it makes no sense to export parser
and/or command
, thus this project should provide its own documentation page.
Add more examples
-
Updated
Jun 29, 2021 - PHP
-
Updated
Aug 4, 2021 - C#
-
Updated
Jul 22, 2021 - C++
-
Updated
Jan 4, 2019 - Objective-C
-
Updated
Aug 13, 2021 - TypeScript
-
Updated
Jul 4, 2020 - C++
-
Updated
Jan 21, 2021 - C++
It might be useful to provide some kind of error classes as part of this package.
For example, I use code like this:
from argparse import ArgumentError, ArgumentParser
def file_path(x: str):
d = Path(x)
if d.is_dir:
raise ArgumentError(f"{d} is a directory")
return d
parser = ArgumentParser()
parser.add_argument('output_file', type=file_path, help="Path to
-
Updated
Apr 12, 2021 - Julia
-
Updated
Feb 4, 2020 - Swift
-
Updated
Jan 25, 2021 - C++
-
Updated
Aug 5, 2021 - C++
-
Updated
Oct 9, 2018 - TypeScript
-
Updated
Jun 1, 2020 - C++
-
Updated
Aug 16, 2021 - C++
-
Updated
Aug 11, 2021 - Python
Improve this page
Add a description, image, and links to the argument-parser topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the argument-parser topic, visit your repo's landing page and select "manage topics."
An example directory of common usage patterns