diff options
| author | figsoda <figsoda@pm.me> | 2023-04-01 09:54:05 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-01 15:54:05 +0200 |
| commit | b2ba061fbb62478017c0a2e9ceced48710cdd291 (patch) | |
| tree | d111110800d6de615b7cdeb684ddedbc71db6763 /cli/src | |
| parent | 5e5b1bba510179a1c50f34b3a239f1913e7be78d (diff) | |
Add aliases for subcommands (#485)
Diffstat (limited to 'cli/src')
| -rw-r--r-- | cli/src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/src/main.rs b/cli/src/main.rs index e8b08bdb..8726a301 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -52,9 +52,11 @@ pub struct CliArguments { #[command()] enum Command { /// Compiles the input file into a PDF file + #[command(visible_alias = "c")] Compile(CompileCommand), /// Watches the input file and recompiles on changes + #[command(visible_alias = "w")] Watch(WatchCommand), /// List all discovered fonts in system and custom font paths |
