aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/command/validate_command.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-08-22 17:53:13 +0900
committernsfisis <nsfisis@gmail.com>2026-08-22 17:53:13 +0900
commitec5f3292ac324789298c3a12972f8f78b688ca24 (patch)
tree44580ee521df4b0416fcafa9089695c5bc550270 /crates/shirabe/src/command/validate_command.rs
parent7286ee29637dbc694f769b618259eb9f75bab0fa (diff)
downloadphp-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/command/validate_command.rs')
-rw-r--r--crates/shirabe/src/command/validate_command.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe/src/command/validate_command.rs b/crates/shirabe/src/command/validate_command.rs
index d460ea6c..16d3b4d0 100644
--- a/crates/shirabe/src/command/validate_command.rs
+++ b/crates/shirabe/src/command/validate_command.rs
@@ -306,7 +306,7 @@ impl Command for ValidateCommand {
let locker = composer.get_locker().clone();
let mut locker = locker.borrow_mut();
if locker.is_locked() && !locker.is_fresh()? {
- lock_errors.push("- The lock file is not up to date with the latest changes in composer.json, it is recommended that you run `composer update` or `composer update <package name>`.".to_string());
+ lock_errors.push("- The lock file is not up to date with the latest changes in composer.json, it is recommended that you run `shirabe update` or `shirabe update <package name>`.".to_string());
}
if locker.is_locked() {