mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 18:15:28 +03:00
18 lines
407 B
Python
18 lines
407 B
Python
from argenta 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
|
|
)
|