Files
Argenta/docs/code_snippets/flag/snippet4.py
T
2025-11-29 11:51:59 +03:00

10 lines
217 B
Python

from argenta.command import Flag
help_flag = Flag(name="help")
version_flag = Flag(name="V", prefix="-")
print(help_flag) # --help
message = f"Use {help_flag} to see help"
print(message) # Use --help to see help