Files
Argenta/docs/code_snippets/flags/snippet6.py
T
2025-11-02 01:04:31 +03:00

13 lines
194 B
Python

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