mirror of
https://github.com/typst/typst
synced 2025-05-14 17:15:28 +08:00
Add aliases for subcommands (#485)
This commit is contained in:
parent
5e5b1bba51
commit
b2ba061fbb
@ -52,9 +52,11 @@ pub struct CliArguments {
|
|||||||
#[command()]
|
#[command()]
|
||||||
enum Command {
|
enum Command {
|
||||||
/// Compiles the input file into a PDF file
|
/// Compiles the input file into a PDF file
|
||||||
|
#[command(visible_alias = "c")]
|
||||||
Compile(CompileCommand),
|
Compile(CompileCommand),
|
||||||
|
|
||||||
/// Watches the input file and recompiles on changes
|
/// Watches the input file and recompiles on changes
|
||||||
|
#[command(visible_alias = "w")]
|
||||||
Watch(WatchCommand),
|
Watch(WatchCommand),
|
||||||
|
|
||||||
/// List all discovered fonts in system and custom font paths
|
/// List all discovered fonts in system and custom font paths
|
||||||
|
Loading…
x
Reference in New Issue
Block a user