Update documentation and code snippets

This commit is contained in:
2025-12-04 20:23:11 +03:00
parent 723ed2210f
commit 087c76fed3
19 changed files with 278 additions and 114 deletions
+2 -2
View File
@@ -5,9 +5,9 @@ flag_with_value = InputFlag(
)
flag_without_value = InputFlag(
name="help", prefix="-", input_value=None, status=ValidationStatus.VALID
name="help", prefix="-", input_value='', status=ValidationStatus.VALID
)
# String representation includes value
print(str(flag_with_value)) # --output result.txt
print(str(flag_without_value)) # -help None
print(str(flag_without_value)) # -help