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 -9
View File
@@ -1,13 +1,5 @@
from argenta.command import Flag, PossibleValues
# Создание флагов с любыми значениями
output_flag = Flag(name="output", possible_values=PossibleValues.ALL)
# Creating flags with any values
message_flag = Flag(name="message", possible_values=PossibleValues.ALL)
name_flag = Flag(name="name", possible_values=PossibleValues.ALL)
# Можно передать любую строку или ничего
# Примеры:
# --output result.json
# --message "Any text here"
# --name "User Name"
# --message