diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-01-20 22:12:41 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-01-20 22:12:41 +0100 |
| commit | da7ecd3660ebb6cbf46749c7586a45cde19d9011 (patch) | |
| tree | f33a5e6cb410bf13f8ac02ea8df4b9ed7843d1f2 /crates/cli/src/main.rs | |
| parent | 22f19cf9f50ae4ce96b175366602b9a2816332a6 (diff) | |
| download | mihi-da7ecd3660ebb6cbf46749c7586a45cde19d9011.tar.gz mihi-da7ecd3660ebb6cbf46749c7586a45cde19d9011.zip | |
Add the 'tags' command
This command includes the create, ls, and rm subcommands, which allow
for easy management of word tags.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'crates/cli/src/main.rs')
| -rw-r--r-- | crates/cli/src/main.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/cli/src/main.rs b/crates/cli/src/main.rs index 871490a..9753cf9 100644 --- a/crates/cli/src/main.rs +++ b/crates/cli/src/main.rs @@ -4,6 +4,7 @@ mod init; mod locale; mod nuke; mod run; +mod tags; mod words; /// Version for this program. @@ -60,6 +61,10 @@ fn main() { let rest: Vec<String> = args.collect(); nuke::run(rest); } + "tags" => { + let rest: Vec<String> = args.collect(); + tags::run(rest); + } "words" => { let rest: Vec<String> = args.collect(); words::run(rest); |
