Files
Argenta/docs/code_snippets/flags_snippet6.py
T
2025-10-28 10:34:34 +03:00

16 lines
207 B
Python

from argenta.command import Flags, Flag
flags = Flags([
Flag("first"),
Flag("second"),
Flag("third")
])
print(flags[0].name)
# first
print(flags[1].name)
# second
print(flags[2].name)
# third