pub fn invocation(
bin: &str,
config_paths: &[PathBuf],
account: Option<&str>,
) -> StringAvailable on crate feature
terminal only.Expand description
Builds the invocation a printed command starts with: bin, then one
-c per configuration path and -a when an account is named, each
value quoted.
It carries the -c and -a the binary ran with, so the command
reaches the same configuration and account rather than the default
ones.