Commit Graph

  • 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 tristan 2026-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
  • 21462029e3 Fixed template Tristan Ancelet 2026-08-14 14:32:26 -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
  • 8780be3a42 Removed 'long' from macro expression Tristan Ancelet 2026-08-14 14:18:02 -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
  • b05f49c2e8 Fixed something maybe Tristan Ancelet 2026-08-14 14:00:31 -05:00
  • d3ca70ea9e Added options for array checking of base types Strings/Int32/etc Tristan Ancelet 2026-08-14 13:55:10 -05:00
  • 697a0db3af Added debug message to print out a missing match + the format being matched Tristan Ancelet 2026-08-12 16:34:16 -05:00
  • a1a9c6fc04 Added format filter to enforce formatting on array objects Tristan Ancelet 2026-08-12 16:26:35 -05:00
  • ffde5165f7 Added format support for filtering arguments Tristan Ancelet 2026-08-12 16:12:59 -05:00
  • 53f510278c added thing Tristan Ancelet 2026-08-12 13:12:09 -05:00
  • e6d9306e69 Added exit & default to help if no main is specified Tristan Ancelet 2026-08-12 13:10:30 -05:00
  • 18c5a559b1 Added exit & default to help if no main is specified Tristan Ancelet 2026-08-12 13:08:24 -05:00
  • 28c45fae9e Added guard for empty @flags array in template Tristan Ancelet 2026-08-12 13:01:41 -05:00
  • f889aae5e1 added dynamic resizing of description for flag & the like Tristan Ancelet 2026-08-12 12:56:59 -05:00
  • e90d89689c Increased default spacing in commands and flags Tristan Ancelet 2026-08-12 12:50:42 -05:00
  • 9b3d823bc7 Comitting for testing Tristan Ancelet 2026-08-12 12:43:44 -05:00
  • d02eded273 Trying again Tristan Ancelet 2026-08-12 12:40:08 -05:00
  • fc592fee37 Trying again Tristan Ancelet 2026-08-12 12:38:55 -05:00
  • 47b4bfa494 had to fix syntax Tristan Ancelet 2026-08-12 12:37:28 -05:00
  • 1a2da86048 Allowed delim in macros Tristan Ancelet 2026-08-12 12:36:23 -05:00
  • 37c5083ae2 added def_init Tristan Ancelet 2026-08-12 11:59:49 -05:00
  • 976ed10f75 Added def_getter Tristan Ancelet 2026-08-12 11:00:56 -05:00
  • ea8ca62a63 Added StringIterpolation Tristan Ancelet 2026-08-12 10:55:22 -05:00
  • 0c7849dc7c Added options Tristan Ancelet 2026-08-11 12:24:30 -05:00
  • 47df89a6c1 Had to fix the selection macro. Was part of the way throught and skipped finishing it Tristan Ancelet 2026-08-11 11:58:04 -05:00
  • afd7ba7c7b Added options to Command.argument macro Tristan Ancelet 2026-08-11 11:53:38 -05:00
  • 8447a1ffbb Added prerun command annotation & implementation Tristan Ancelet 2026-08-11 11:37:22 -05:00
  • 4af08f8efe had to fix again Tristan Ancelet 2026-08-11 11:24:22 -05:00
  • 1085335c88 Had to add for lib setup Tristan Ancelet 2026-08-11 11:22:02 -05:00
  • 19ea00ef72 added a few things Tristan Ancelet 2026-08-11 11:17:34 -05:00
  • 8d17de7434 Fix annotation key mismatch: validate -> validation in generate.cr tristan 2026-08-10 13:12:12 -05:00
  • 405303e4f8 updated .gitignor Tristan Ancelet 2026-08-10 13:00:23 -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 tristan 2026-08-10 08:02:58 -05:00
  • 519c8dcd44 Remove test binary and test.cr tristan 2026-08-10 07:59:02 -05:00
  • bc0f56fda9 Add .claude/, .gitignore, and update README tristan 2026-08-10 07:58:15 -05:00
  • 6f31a5d27c object_rework: working MVP with runtime CommandNode tree tristan 2026-08-09 22:49:55 -05:00
  • f5571cde73 Committing before test tristan 2026-08-09 15:20:06 -05:00
  • 3217750714 Added README changes to show install steps master Tristan Ancelet 2026-03-31 10:26:33 -05:00
  • 613e059fb7 forgot to change one Tristan Ancelet 2026-03-31 09:20:53 -05:00
  • 771934b486 Changed structure Tristan Ancelet 2026-03-31 09:17:36 -05:00
  • 37ea36cfdd Pushing changes Tristan Ancelet 2026-03-20 19:01:33 -05:00
  • 3775096cc3 had to add thing Tristan Ancelet 2026-03-11 13:39:14 -05:00
  • 71e10f10ea Testing Tristan Ancelet 2026-02-23 16:19:31 -06:00
  • 19424b5c44 had to fix another thing Tristan Ancelet 2026-02-23 15:41:36 -06:00
  • 4073706c45 Forgot to add some things Tristan Ancelet 2026-02-23 15:40:19 -06:00
  • 21a2b0d972 Doing test Tristan Ancelet 2026-02-23 15:22:13 -06:00
  • 5a14063e1f Testing Tristan Ancelet 2026-02-23 13:19:08 -06:00
  • a29a65ceae Testing Tristan Ancelet 2026-02-23 13:18:39 -06:00
  • 49f175e9c6 Testing again Tristan Ancelet 2026-02-23 13:16:17 -06:00
  • fd3b9460e7 testing Tristan Ancelet 2026-02-23 13:14:38 -06:00
  • 136298e67c Changing to cligen Tristan Ancelet 2026-02-23 13:08:56 -06:00
  • 9b50633c0e Testing Tristan Ancelet 2026-02-23 12:58:15 -06:00
  • b91ecad7e5 Initial commit Tristan Ancelet 2026-02-23 10:30:03 -06:00