Update documentation and code snippets

This commit is contained in:
2025-12-02 10:51:44 +03:00
parent 2a96dfcabe
commit 19906c1b1b
28 changed files with 85 additions and 531 deletions
+1 -3
View File
@@ -1,11 +1,9 @@
from argenta.command import Flag, Flags
# Создание коллекции
flags: Flags = Flags()
# Динамическое добавление флагов
flags.add_flag(Flag("config"))
flags.add_flag(Flag("debug"))
flags.add_flag(Flag("log-level", possible_values=["INFO", "DEBUG", "ERROR"]))
print(len(flags.flags)) # 3
print(len(flags)) # 3