Lance Edgar
ed6a5db452
Add Subcommand.make_arg_parser()
method
...
split that out for clarity
2023-11-21 20:48:44 -06:00
Lance Edgar
ea9a9ade57
Change entry point group naming for subcommands
...
and use fallback to find subcommands registered via legacy naming
2023-11-21 14:08:26 -06:00
Lance Edgar
d8252f029d
Allow specifying config object for Command constructor
...
might as well re-use config if available..not sure how often this will
happen in practice
2023-11-20 23:13:59 -06:00
Lance Edgar
a0186b346e
Add common FileConfigTestCase
class, in new testing
module
...
hoping i do not regret this decision.. since the tests do not live in
a "real" package i think the only way to share code is to add some
things to the main package
2023-11-20 16:19:22 -06:00
Lance Edgar
427afc27fc
Add test to ensure we get correct app handler by default
2023-11-20 09:57:38 -06:00
Lance Edgar
b458272207
Add make_engine_from_config()
method for AppHandler
...
and other misc. tweaks needed to get this incorporated into Rattail
2023-11-19 20:36:51 -06:00
Lance Edgar
068d8f29b5
Fix errors for tox runs
2023-11-19 15:21:17 -06:00
Lance Edgar
005f43d14e
Add basic command line framework
...
`wutta setup` is the only real sub/command yet, and it does nothing
2023-11-19 14:22:25 -06:00
Lance Edgar
c45aea71df
Fix tox tests for python3.6
2023-10-29 23:32:11 -05:00
Lance Edgar
cd2d16e6ac
Log warning if ambiguous config key detected
2023-10-29 22:41:33 -05:00
Lance Edgar
5c3c42d6b3
First commit, basic config (with db) and app handler
...
this has 100% test coverage and i intend to keep it that way. api
docs have a good start but still need narrative. several more things
must be added before i can seriously consider incorporating into
rattail but this seemed a good save point
2023-10-28 17:50:13 -05:00