From b2ba061fbb62478017c0a2e9ceced48710cdd291 Mon Sep 17 00:00:00 2001 From: figsoda Date: Sat, 1 Apr 2023 09:54:05 -0400 Subject: [PATCH] Add aliases for subcommands (#485) --- cli/src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cli/src/main.rs b/cli/src/main.rs index e8b08bdb3..8726a301c 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