Jaymon / captain

command line python scripts for humans
MIT License
13 stars 1 forks source link

Pathfinder class that created the default dicts #85

Closed Jaymon closed 4 weeks ago

Jaymon commented 3 months ago

Right now the router handles all the default dict creation with the command class and things like that in the create_parsers method, but I'll bet a bunch of that functionality could be done in the missing method of a DictTree child (named Pathfinder or Parsers).

Handling it like that could save a few iterations and maybe simplify the code a bit also.