style: capitalize "Relicario" in prose / UI / CLI help
Brand name uses capital R in user-facing text — extension UI strings, CLI clap help / descriptions / error prose, markdown docs. Lowercase preserved for the binary command, crate names, npm package, file paths, env vars, and code identifiers. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
//! relicario CLI — the platform layer for the relicario password manager.
|
||||
//! Relicario CLI — the platform layer for the Relicario password manager.
|
||||
//!
|
||||
//! See module docs for the unlock flow and vault layout.
|
||||
|
||||
@@ -14,7 +14,7 @@ use clap::{Parser, Subcommand};
|
||||
#[command(
|
||||
name = "relicario",
|
||||
version,
|
||||
about = "Git-backed password manager with reference-image two-factor unlock"
|
||||
about = "Relicario — git-backed password manager with reference-image two-factor unlock"
|
||||
)]
|
||||
struct Cli {
|
||||
#[command(subcommand)]
|
||||
@@ -462,7 +462,7 @@ fn cmd_init(image: PathBuf, output: PathBuf) -> Result<()> {
|
||||
".relicario/salt", "manifest.enc", "settings.enc",
|
||||
]).status()?;
|
||||
let status = crate::helpers::git_command(&root, &[
|
||||
"commit", "-m", "init: new relicario vault (format v2)",
|
||||
"commit", "-m", "init: new Relicario vault (format v2)",
|
||||
]).status()?;
|
||||
if !status.success() { anyhow::bail!("git commit failed"); }
|
||||
|
||||
@@ -1477,7 +1477,7 @@ fn cmd_backup_restore(input: PathBuf, target: PathBuf) -> Result<()> {
|
||||
|
||||
if target.join(".relicario").exists() {
|
||||
anyhow::bail!(
|
||||
"target dir already contains a relicario vault; restore refuses to overwrite — use an empty directory: {}",
|
||||
"target dir already contains a Relicario vault; restore refuses to overwrite — use an empty directory: {}",
|
||||
target.display()
|
||||
);
|
||||
}
|
||||
|
||||
@@ -66,7 +66,7 @@ fn restore_refuses_non_empty_target() {
|
||||
.unwrap();
|
||||
assert!(!out.status.success());
|
||||
let err = String::from_utf8(out.stderr).unwrap();
|
||||
assert!(err.contains("already contains a relicario vault"), "stderr: {err}");
|
||||
assert!(err.contains("already contains a Relicario vault"), "stderr: {err}");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user