Skip to content

Commit f454593

Browse files
committed
build: bump deps
1 parent 564d88d commit f454593

5 files changed

Lines changed: 37 additions & 31 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
### Changed
10+
11+
- **BREAKING**: renamed `completions` and `manuals` to `completion` and `manual`, the plural staying as a hidden alias.
12+
913
## [0.1.0] - 2026-08-22
1014

1115
First release, renamed from mirador. The binary, the config directory, the `CARILLON_CONFIG` variable and the systemd unit all carry the new name; a prototype configuration only needs `mv ~/.config/mirador ~/.config/carillon`.

‎Cargo.lock‎

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ Force a backend on an account declaring several:
129129
carillon -b jmap watch
130130
```
131131

132-
Every command and every flag is documented behind `--help`. Man pages and shell completions are generated by `carillon manuals <DIR>` and `carillon completions <DIR>`.
132+
Every command and every flag is documented behind `--help`. Man pages and shell completions are generated by `carillon manual --dir <DIR>` and `carillon completion --dir <DIR>`.
133133

134134
Logs go to stderr, so they can be redirected to a file while the command output stays on stdout:
135135

‎flake.lock‎

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/cli.rs‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,12 @@ pub enum Command {
9191
Configure(ConfigureCommand),
9292
/// Generate man pages into the given directory.
9393
#[command(arg_required_else_help = true)]
94-
Manuals(ManualCommand),
94+
#[command(alias = "manuals")]
95+
Manual(ManualCommand),
9596
/// Generate shell completion scripts into the given directory.
9697
#[command(arg_required_else_help = true)]
97-
Completions(CompletionCommand),
98+
#[command(alias = "completions")]
99+
Completion(CompletionCommand),
98100
}
99101

100102
impl Cli {
@@ -149,8 +151,8 @@ impl Command {
149151
Self::Watch(cmd) => cmd.execute(printer, config_paths, account_name, backend),
150152
Self::Check(cmd) => cmd.execute(printer, config_paths, account_name, backend),
151153
Self::Configure(cmd) => cmd.execute(printer, config_paths),
152-
Self::Manuals(cmd) => cmd.execute(printer, Cli::command()),
153-
Self::Completions(cmd) => cmd.execute(printer, Cli::command()),
154+
Self::Manual(cmd) => cmd.execute(printer, Cli::command()),
155+
Self::Completion(cmd) => cmd.execute(printer, Cli::command()),
154156
}
155157
}
156158
}

0 commit comments

Comments
 (0)