Commit Graph

15 Commits

Author SHA1 Message Date
tristan 3fa77f5707 Committing before help rework 2026-09-05 13:19:55 -05:00
tristan 4cce5cc45c Modified a few things:
- Finished implementing relative date parsing and migrated date parsing
  from Flag(T) to it's own dedicated module. Additionally added a
  the ability to do "recursive" relative operations for time searching.
- Additionally made a Struct & Enum for containing relative operations
  around dates.
- Added additional checks in App & CommandNode(T) around checking
  env_vars of flags & checking for duplicate commands
- Added a CommandMeta record to contain the classname of the
  CommandNode(T)
- Seperated out all of the monolitic files (command_node.cr & file.cr).
  Moved the base classes and records into their own files in the dir
  with the same name of their generic counterparts.
- Fixed a number of macro related bugs around Command.argument &
  CliGen.add_global_flag
- My ass hurts from sitting here for hours and doing these changes and
  arguing with claude over what needs to be done. Fun tho.
2026-08-30 22:13:39 -05:00
tristan f2d5c84f2b Made changes:
- Updated .gitignore to include specs
- Re-licensed to MPL-2.0 as I want any modifications to be pushed back
  to the main codebase so that the ecosystem can benefit from developer
  adoption
- Updated LICENSE & shard.yml with new license
- Changed author to personal email as this is not being done for my
  company
2026-08-30 12:52:16 -05:00
tristan 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 2026-08-16 17:19:10 -05:00
Tristan Ancelet 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 2026-08-10 12:57:31 -05:00
tristan f5571cde73 Committing before test 2026-08-09 15:20:06 -05:00
Tristan Ancelet 613e059fb7 forgot to change one 2026-03-31 09:20:53 -05:00
Tristan Ancelet 771934b486 Changed structure 2026-03-31 09:17:36 -05:00
Tristan Ancelet 3775096cc3 had to add thing 2026-03-11 13:39:14 -05:00
Tristan Ancelet 71e10f10ea Testing 2026-02-23 16:19:31 -06:00
Tristan Ancelet 4073706c45 Forgot to add some things 2026-02-23 15:40:19 -06:00
Tristan Ancelet 21a2b0d972 Doing test 2026-02-23 15:22:13 -06:00
Tristan Ancelet 49f175e9c6 Testing again 2026-02-23 13:16:17 -06:00
Tristan Ancelet fd3b9460e7 testing 2026-02-23 13:14:38 -06:00
Tristan Ancelet 136298e67c Changing to cligen 2026-02-23 13:09:33 -06:00