From ec5f3292ac324789298c3a12972f8f78b688ca24 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 22 Aug 2026 17:53:13 +0900 Subject: feat(cli): tell the user to run `shirabe`, not `composer` Messages that instruct the user to run a command named the Composer binary. Shirabe ships as its own binary, so the hints now name it. File names (composer.json, composer.lock), the "composer" repository type and prose about Composer itself are untouched. The installer and functional integration fixtures live in the Composer submodule and cannot be edited, so their expected output is normalized on load. --- crates/shirabe/src/util/bitbucket.rs | 6 +++--- crates/shirabe/src/util/forgejo.rs | 2 +- crates/shirabe/src/util/github.rs | 4 ++-- crates/shirabe/src/util/gitlab.rs | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'crates/shirabe/src/util') diff --git a/crates/shirabe/src/util/bitbucket.rs b/crates/shirabe/src/util/bitbucket.rs index f50dc878..d42aa9d8 100644 --- a/crates/shirabe/src/util/bitbucket.rs +++ b/crates/shirabe/src/util/bitbucket.rs @@ -149,7 +149,7 @@ impl Bitbucket { io_interface::NORMAL, ); self.io.write_error3( - "You can also add it manually later by using \"composer config --global --auth bitbucket-oauth.bitbucket.org \"", + "You can also add it manually later by using \"shirabe config --global --auth bitbucket-oauth.bitbucket.org \"", true, io_interface::NORMAL, ); @@ -244,7 +244,7 @@ impl Bitbucket { io_interface::NORMAL, ); self.io.write_error3( - "You can also add it manually later by using \"composer config --global --auth bitbucket-oauth.bitbucket.org \"", + "You can also add it manually later by using \"shirabe config --global --auth bitbucket-oauth.bitbucket.org \"", true, io_interface::NORMAL, ); @@ -265,7 +265,7 @@ impl Bitbucket { io_interface::NORMAL, ); self.io.write_error3( - "You can also add it manually later by using \"composer config --global --auth bitbucket-oauth.bitbucket.org \"", + "You can also add it manually later by using \"shirabe config --global --auth bitbucket-oauth.bitbucket.org \"", true, io_interface::NORMAL, ); diff --git a/crates/shirabe/src/util/forgejo.rs b/crates/shirabe/src/util/forgejo.rs index 6c18e4f6..99e2d9bc 100644 --- a/crates/shirabe/src/util/forgejo.rs +++ b/crates/shirabe/src/util/forgejo.rs @@ -92,7 +92,7 @@ impl Forgejo { .unwrap_or_default(); let add_token_manually = format!( - "You can also add it manually later by using \"composer config --global --auth forgejo-token.{} \"", + "You can also add it manually later by using \"shirabe config --global --auth forgejo-token.{} \"", origin_url ); if token.is_empty() || username.is_empty() { diff --git a/crates/shirabe/src/util/github.rs b/crates/shirabe/src/util/github.rs index d4fd3283..5ec0acb1 100644 --- a/crates/shirabe/src/util/github.rs +++ b/crates/shirabe/src/util/github.rs @@ -205,7 +205,7 @@ impl GitHub { io_interface::NORMAL, ); self.io.write_error3( - "You can also add it manually later by using \"composer config --global --auth github-oauth.github.com \"", + "You can also add it manually later by using \"shirabe config --global --auth github-oauth.github.com \"", true, io_interface::NORMAL, ); @@ -245,7 +245,7 @@ impl GitHub { io_interface::NORMAL, ); self.io.write_error3( - "You can also add it manually later by using \"composer config --global --auth github-oauth.github.com \"", + "You can also add it manually later by using \"shirabe config --global --auth github-oauth.github.com \"", true, io_interface::NORMAL, ); diff --git a/crates/shirabe/src/util/gitlab.rs b/crates/shirabe/src/util/gitlab.rs index fa9bef69..e6e7a960 100644 --- a/crates/shirabe/src/util/gitlab.rs +++ b/crates/shirabe/src/util/gitlab.rs @@ -293,7 +293,7 @@ impl GitLab { ); self.io.write_error3( &format!( - "Add it using \"composer config --global --auth gitlab-token.{} \"", + "Add it using \"shirabe config --global --auth gitlab-token.{} \"", origin_url ), true, -- cgit v1.3.1-4-g156e