This commit is contained in:
2025-11-29 11:51:59 +03:00
parent 47fda23431
commit 2a96dfcabe
28 changed files with 103 additions and 242 deletions
+1 -4
View File
@@ -3,10 +3,7 @@ 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
print(help_flag) # --help
# Форматирование строк
message = f"Use {help_flag} to see help"
print(message) # Use --help to see help