mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 10:05:28 +03:00
73303b1c08
Full code coverage with annotations, fixing errors in various linters: ruff, wps, etc. Fixing errors in type checkers: ty, mypy, pyright. Formatting and bringing code to a consistent style, applying best practices in various aspects.
5 lines
156 B
Python
5 lines
156 B
Python
import argparse
|
|
|
|
parser = argparse.ArgumentParser(prog='myprogram')
|
|
_ = parser.add_argument('--foo', help='foo of the %(prog)s program')
|
|
parser.print_help() |