Add aliases for subcommands (#485)

This commit is contained in:
figsoda 2023-04-01 09:54:05 -04:00 committed by GitHub
parent 5e5b1bba51
commit b2ba061fbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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