diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-06-28 10:35:44 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-06-28 10:36:53 +0200 |
| commit | 04bffc4f12ff7dd85d25f5fd65506440287f879c (patch) | |
| tree | 311a78d174f95c6e4733e3eb17a40f78744c3854 /cli/src/args.rs | |
| parent | 7b92bd7c340d9f9c094ed2fa57912049317d9b20 (diff) | |
Reintroduce `--root`
Diffstat (limited to 'cli/src/args.rs')
| -rw-r--r-- | cli/src/args.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/src/args.rs b/cli/src/args.rs index 8c16e14e..6b9f3df8 100644 --- a/cli/src/args.rs +++ b/cli/src/args.rs @@ -11,6 +11,10 @@ pub struct CliArguments { #[command(subcommand)] pub command: Command, + /// Configure the project root + #[clap(long = "root", env = "TYPST_ROOT", value_name = "DIR")] + pub root: Option<PathBuf>, + /// Add additional directories to search for fonts #[clap( long = "font-path", |
