flatten subcommands and add better doc comments

This commit is contained in:
2024-07-09 19:54:27 +02:00
parent b0bffc45ee
commit 4dedde5edb
5 changed files with 107 additions and 94 deletions

View File

@@ -32,10 +32,10 @@ You should now be able to connect to the mariadb instance, after building the pr
cargo run -- --config-file ./config.toml <args>
# example usage
cargo run -- --config-file ./config.toml db create "${USER}_testdb"
cargo run -- --config-file ./config.toml user create "${USER}_testuser"
cargo run -- --config-file ./config.toml db edit-perm -p "${USER}_testdb:${USER}_testuser:A"
cargo run -- --config-file ./config.toml db show-perm
cargo run -- --config-file ./config.toml create-db "${USER}_testdb"
cargo run -- --config-file ./config.toml create-user "${USER}_testuser"
cargo run -- --config-file ./config.toml edit-db-perm -p "${USER}_testdb:${USER}_testuser:A"
cargo run -- --config-file ./config.toml show-db-perm
```
To stop and remove the container, run the following command: