mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 10:05:28 +03:00
12 lines
396 B
Python
12 lines
396 B
Python
from argenta.command.flag import InputFlag, ValidationStatus
|
|
|
|
# Создание InputFlag с полным набором параметров
|
|
output_flag = InputFlag(
|
|
name="output", prefix="--", input_value="result.txt", status=ValidationStatus.VALID
|
|
)
|
|
|
|
# Флаг без значения
|
|
help_flag = InputFlag(
|
|
name="help", prefix="-", input_value=None, status=ValidationStatus.VALID
|
|
)
|