A very small patch that should make command-line invocation nicer to use, with the following changes:
--no-prompt
for arguments such as --name
and --email
pijul identity edit --<NAME>
to pijul identity edit <NAME>
pijul identity remove
to pijul identity rm
KKNMDXAIU7P44JOSAM23T4RUMLBHWGHTQQS4NXS4FIX5IN6OTXPAC
let identity = if options.no_prompt {
unwrap_args(
Complete::default()?,
options.name,
options.username,
options.display_name,
options.remote,
options.email,
options.expiry,
options.password,
)?
} else {
Complete::default()?
};
let identity = unwrap_args(
Complete::default()?,
options.name,
options.username,
options.display_name,
options.remote,
options.email,
options.expiry,
options.password,
)?;