2
0
Fork 0
Commit graph

16 commits

Author SHA1 Message Date
Lance Edgar ceeff7e911 feat: add install handler and related logic
- Mako is now a core dependency
- therefore no more 'email' extra
- add `get_install_handler()` method for app handler
- add `render_mako_template()` method for app handler
- add `resource_path()` method for app handler
- install handler thus far can:
  - confirm db connection
  - make appdir plus config/scripts:
    - wutta.conf
    - web.conf
    - upgrade.sh
  - upgrade db schema to create tables
  - from there web app can run, create admin user
- quick start docs now describe "generated code" option
2024-11-24 10:13:56 -06:00
Lance Edgar 2deba45588 feat: add wutta top-level command with make-uuid subcommand
i think it only makes sense to have an "opinion" for command line
interface in this project, and we probably need more `wutta`
subcommands too but we'll see.

main motivation for this currently is to allow poser apps to define
their own CLI, in particular e.g. `poser install`
2024-11-23 11:48:28 -06:00
Lance Edgar e855a84c37 docs: add basic db setup to quickstart doc 2024-08-23 15:20:47 -05:00
Lance Edgar 3ea9deea06 docs: avoid unknown command 2024-07-04 14:41:53 -05:00
Lance Edgar a76cbf29e9 feat: remove legacy command system
typer is the recommended approach, but any could be used.  we have
nothing significant to offer so better to just not.
2024-07-04 14:35:29 -05:00
Lance Edgar 5096fd6d3c docs: add another resource link for cli frameworks 2024-06-30 20:31:12 -05:00
Lance Edgar 4de2e6dc6e docs: stop documenting wutta command line framwework
as we will be deprecating and removing it at some point.  `typer`
seems to work well but any other framework could be used
2024-06-30 20:26:25 -05:00
Lance Edgar 3a8bd1fce9 Add app providers, tests, docs 2023-11-24 23:11:26 -06:00
Lance Edgar 64af49ffdf Add basic database docs 2023-11-24 19:14:48 -06:00
Lance Edgar b59e83907c Add config extension class, tests, docs 2023-11-24 18:45:10 -06:00
Lance Edgar f9f2bcc3d0 Add more install docs 2023-11-24 18:08:50 -06:00
Lance Edgar 9258d8b55a Add docs for settings table 2023-11-24 16:35:34 -06:00
Lance Edgar 4a7729a702 Add docs for handlers, app handler 2023-11-24 15:58:24 -06:00
Lance Edgar 6b110e567a Add docs for subcommands 2023-11-24 14:22:22 -06:00
Lance Edgar af4c28b286 Add a large chunk of the docs for command line interface
will have to finish subcommands later
2023-11-22 21:40:26 -06:00
Lance Edgar 4641e24afd Add narrative docs for app configuration 2023-11-21 18:27:29 -06:00