Rename --flake-uri to --flake.
This commit is contained in:
parent
ec231161ed
commit
0cc421ead0
2 changed files with 5 additions and 5 deletions
|
|
@ -89,7 +89,7 @@ A simple System Manager module could look something like this:
|
||||||
|
|
||||||
Once the configuration defined, you can activate it using the `system-manager` CLI:
|
Once the configuration defined, you can activate it using the `system-manager` CLI:
|
||||||
```sh
|
```sh
|
||||||
nix run 'github:numtide/system-manager' -- switch --flake-uri '.'
|
nix run 'github:numtide/system-manager' -- switch --flake '.'
|
||||||
```
|
```
|
||||||
|
|
||||||
# Currently supported features
|
# Currently supported features
|
||||||
|
|
|
||||||
|
|
@ -22,21 +22,21 @@ struct Args {
|
||||||
target_host: Option<String>,
|
target_host: Option<String>,
|
||||||
|
|
||||||
#[arg(long, action)]
|
#[arg(long, action)]
|
||||||
/// Whether to invoke the remove command with sudo.
|
/// Invoke the remote command with sudo.
|
||||||
/// Only useful in combination with
|
/// Only useful in combination with --target-host
|
||||||
use_remote_sudo: bool,
|
use_remote_sudo: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(clap::Args, Debug)]
|
#[derive(clap::Args, Debug)]
|
||||||
struct BuildArgs {
|
struct BuildArgs {
|
||||||
#[arg(long)]
|
#[arg(long = "flake", name = "FLAKE_URI")]
|
||||||
/// The flake defining the system-manager profile
|
/// The flake defining the system-manager profile
|
||||||
flake_uri: String,
|
flake_uri: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(clap::Args, Debug)]
|
#[derive(clap::Args, Debug)]
|
||||||
struct GenerateArgs {
|
struct GenerateArgs {
|
||||||
#[arg(long)]
|
#[arg(long = "flake", name = "FLAKE_URI")]
|
||||||
/// The flake defining the system-manager profile
|
/// The flake defining the system-manager profile
|
||||||
flake_uri: Option<String>,
|
flake_uri: Option<String>,
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue