mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46:23 +08:00
Add aliases for subcommands (#485)
This commit is contained in:
parent
5e5b1bba51
commit
b2ba061fbb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user