This commit is contained in:
2025-11-01 11:38:48 +03:00
parent 0598f6e7a5
commit e4a5c6d398
73 changed files with 53 additions and 50 deletions
+12
View File
@@ -0,0 +1,12 @@
from argenta.command import Flag
help_flag = Flag(name="help")
version_flag = Flag(name="V", prefix="-")
# Использование str() или print()
print(str(help_flag)) # --help
print(version_flag) # -V
# Форматирование строк
message = f"Use {help_flag} to see help"
print(message) # Use --help to see help