Commit Graph

9 Commits

Author SHA1 Message Date
d3bb47036c cli: replace prompt_utils with libdib 2025-03-19 13:39:54 +01:00
b13364c9b3 update flake, use uv instead of poetry 2025-02-22 21:48:43 +01:00
f62011d6f7 pyproject.toml: add missing deps 2024-07-28 14:09:40 +02:00
fad38adc50 Move all functionality under a single worblehat command 2023-05-12 02:27:26 +02:00
78fa3076b9 Set up alembic, and more
- Setup alembic and generate the initial migration
- Add poethepoet to dev dependencies in order to put hard-to-remember
  commands beneath the poetry namespace
- Add psycopg2-binary dependency, for use with postgresql
- Remove dotenv dependency, as it is no longer required
- Add `config.toml` to gitignore. This is because alembic has no
  argument parser that will let you specify the config file to use.
  Developers are encouraged to use `config.toml`, which will be
  automatically recognized, unless they want to implement the argument
  parser functionality for alembic.
2023-05-06 17:52:15 +02:00
30ee10ec0c Add argument parser and toml-based config file
- Create a common argument interface and config file format for both
  cli and flask version of application.
- Bumped the python version constraint to ^3.11 in order to use the
  native tomllib for reading config file.
- Move all the flask specific code under `worblehat.flaskapp`
2023-05-06 17:22:38 +02:00
3525e84576 Start converting the scanner tool into a cli tool
The scanner tool is about to become a fullfledged repl, much in the same
manner as dibbler.

Changes:

- Rename `tools/scanner.py` -> `cli/main.py`
- Create abstraction layer for Cmd with numbered commands
- Create submenu for items
- Lots of functionality edits
- Fill out more todos in REAMDE
2023-05-06 02:37:28 +02:00
cebb6ccb86 Add flake.nix to project 2023-05-04 17:24:17 +02:00
4ac110f527 Misc changes:
- Migrate project to use poetry for ease of dependency management and
  building
- Add wsgi prod and dev entrypoints
- Start working on a more rigid scanning tool
- Remove unused ignores in .gitignore
- Update README about changes
2023-05-04 16:17:35 +02:00