diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-22 17:53:13 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-22 17:53:13 +0900 |
| commit | ec5f3292ac324789298c3a12972f8f78b688ca24 (patch) | |
| tree | 44580ee521df4b0416fcafa9089695c5bc550270 /crates/shirabe/src/util | |
| parent | 7286ee29637dbc694f769b618259eb9f75bab0fa (diff) | |
| download | php-shirabe-ec5f3292ac324789298c3a12972f8f78b688ca24.tar.gz php-shirabe-ec5f3292ac324789298c3a12972f8f78b688ca24.tar.zst php-shirabe-ec5f3292ac324789298c3a12972f8f78b688ca24.zip | |
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.
Diffstat (limited to 'crates/shirabe/src/util')
| -rw-r--r-- | crates/shirabe/src/util/bitbucket.rs | 6 | ||||
| -rw-r--r-- | crates/shirabe/src/util/forgejo.rs | 2 | ||||
| -rw-r--r-- | crates/shirabe/src/util/github.rs | 4 | ||||
| -rw-r--r-- | crates/shirabe/src/util/gitlab.rs | 2 |
4 files changed, 7 insertions, 7 deletions
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 <consumer-key> <consumer-secret>\"", + "You can also add it manually later by using \"shirabe config --global --auth bitbucket-oauth.bitbucket.org <consumer-key> <consumer-secret>\"", 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 <consumer-key> <consumer-secret>\"", + "You can also add it manually later by using \"shirabe config --global --auth bitbucket-oauth.bitbucket.org <consumer-key> <consumer-secret>\"", 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 <consumer-key> <consumer-secret>\"", + "You can also add it manually later by using \"shirabe config --global --auth bitbucket-oauth.bitbucket.org <consumer-key> <consumer-secret>\"", 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.{} <username> <token>\"", + "You can also add it manually later by using \"shirabe config --global --auth forgejo-token.{} <username> <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 <token>\"", + "You can also add it manually later by using \"shirabe config --global --auth github-oauth.github.com <token>\"", 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 <token>\"", + "You can also add it manually later by using \"shirabe config --global --auth github-oauth.github.com <token>\"", 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.{} <token>\"", + "Add it using \"shirabe config --global --auth gitlab-token.{} <token>\"", origin_url ), true, |
