summaryrefslogtreecommitdiff
path: root/cli/src/main.rs
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-04-01 09:54:05 -0400
committerGitHub <noreply@github.com>2023-04-01 15:54:05 +0200
commitb2ba061fbb62478017c0a2e9ceced48710cdd291 (patch)
treed111110800d6de615b7cdeb684ddedbc71db6763 /cli/src/main.rs
parent5e5b1bba510179a1c50f34b3a239f1913e7be78d (diff)
Add aliases for subcommands (#485)
Diffstat (limited to 'cli/src/main.rs')
-rw-r--r--cli/src/main.rs2
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