777a1b992a
Had to fix block.call to yield so that the compiler could be happy
object_rework
Tristan Ancelet
2026-08-17 09:25:42 -05:00
a17053f45c
Added a specs for flag & arg. As well as changed a few ways I as handling cli args and determining how they're to be passed to each flag
tristan2026-08-16 17:19:10 -05:00
6535753fa3
Had to fix some things in coerce
Tristan Ancelet
2026-08-14 15:32:44 -05:00
09389cb5e9
Added differnt check for default. Set it to empty string as a way of determining if a default was set. Ignoring empty strings
Tristan Ancelet
2026-08-14 15:01:04 -05:00
d1746602b1
modified the way that the FlagMeta default string gets generated based on Array vs LITERALLY anything else
Tristan Ancelet
2026-08-14 14:57:05 -05:00
4a0dcb8b59
Had to fix expression to show type as {{...}} isn't expanded in macro expression betweeh {% ... %}
Tristan Ancelet
2026-08-14 14:19:38 -05:00
fd510469ac
Added allow_no_verification for users to bypass the 'must have options or validation' check. However, not doing so can cause unexpected failures where flags will begin consuming preceeding arguments
Tristan Ancelet
2026-08-14 14:14:53 -05:00
f55cc25f2d
Modified Command.argument to let the user provide a method call for runtime learning of options value. This will let the compiler check at compile time
Tristan Ancelet
2026-08-14 14:10:25 -05:00
29327a3e83
Got Array(T) working in flag.cr. Hacky stuff it is to convince the compiler that a value isn't going to be nil if I set it
Tristan Ancelet
2026-08-10 12:57:31 -05:00
ac5711c0df
Update .claude/settings.json with project permission allowlist
tristan2026-08-10 08:02:58 -05:00
519c8dcd44
Remove test binary and test.cr
tristan2026-08-10 07:59:02 -05:00
bc0f56fda9
Add .claude/, .gitignore, and update README
tristan2026-08-10 07:58:15 -05:00
6f31a5d27c
object_rework: working MVP with runtime CommandNode tree
tristan2026-08-09 22:49:55 -05:00