A very small patch that should make command-line invocation more obvious, with the following changes
--no-prompt
for arguments such as --name
and --email
pijul identity edit --<NAME>
to pijul identity edit <NAME>
AFZKABZT5EZDS4MUA4UB572ZYMMVTXDOITDBHVF4XO7UGAJJE5FAC
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,
)?;