mirror of
https://github.com/callumio/nish.git
synced 2025-12-16 19:19:20 +00:00
feat: make packages argument required
This commit is contained in:
parent
21ee9030ee
commit
15f9bff56b
2 changed files with 3 additions and 1 deletions
|
|
@ -1,7 +1,9 @@
|
|||
[package]
|
||||
name = "nish"
|
||||
description = "Jump into flake-based nix shells with ease"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
|
||||
[dependencies]
|
||||
clap = { version = "4.5.17", features = ["derive"] }
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ struct Args {
|
|||
/// <package> to implicitly use nixpkgs
|
||||
///
|
||||
/// <flake#package> to use a different flake
|
||||
#[arg(value_parser = preprocess)]
|
||||
#[arg(value_parser = preprocess, required = true)]
|
||||
pkgs: Vec<Installable>,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue