diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-20 00:03:28 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-20 00:03:28 +0900 |
| commit | 08ad403ed366ac5839cb63333b5ba2c5007c655e (patch) | |
| tree | 68735a2fdba8f132178e7243c75ff863eb85e8ff /crates | |
| parent | e5fcde172b38d9a71292d0b4dd7f5d347da2e748 (diff) | |
| download | php-shirabe-08ad403ed366ac5839cb63333b5ba2c5007c655e.tar.gz php-shirabe-08ad403ed366ac5839cb63333b5ba2c5007c655e.tar.zst php-shirabe-08ad403ed366ac5839cb63333b5ba2c5007c655e.zip | |
feat(help): replace all "php composer.phar" in help text with "shirabe"
Diffstat (limited to 'crates')
17 files changed, 24 insertions, 23 deletions
diff --git a/crates/shirabe/src/command/about_command.rs b/crates/shirabe/src/command/about_command.rs index 1bfa89f..e476bb6 100644 --- a/crates/shirabe/src/command/about_command.rs +++ b/crates/shirabe/src/command/about_command.rs @@ -41,7 +41,7 @@ impl Command for AboutCommand { fn configure(&mut self) -> anyhow::Result<()> { self.set_name("about")?; self.set_description("Shows a short information about Composer"); - self.set_help("<info>php composer.phar about</info>"); + self.set_help("<info>shirabe about</info>"); Ok(()) } diff --git a/crates/shirabe/src/command/archive_command.rs b/crates/shirabe/src/command/archive_command.rs index 12a93e0..cd5fa04 100644 --- a/crates/shirabe/src/command/archive_command.rs +++ b/crates/shirabe/src/command/archive_command.rs @@ -71,7 +71,7 @@ impl Command for ArchiveCommand { "The <info>archive</info> command creates an archive of the specified format\n\ containing the files and directories of the Composer project or the specified\n\ package in the specified version and writes it to the specified directory.\n\n\ - <info>php composer.phar archive [--format=zip] [--dir=/foo] [--file=filename] [package [version]]</info>\n\n\ + <info>shirabe archive [--format=zip] [--dir=/foo] [--file=filename] [package [version]]</info>\n\n\ Read more at https://getcomposer.org/doc/03-cli.md#archive" ); Ok(()) diff --git a/crates/shirabe/src/command/check_platform_reqs_command.rs b/crates/shirabe/src/command/check_platform_reqs_command.rs index 333c37f..23d2240 100644 --- a/crates/shirabe/src/command/check_platform_reqs_command.rs +++ b/crates/shirabe/src/command/check_platform_reqs_command.rs @@ -185,7 +185,7 @@ impl Command for CheckPlatformReqsCommand { self.set_help( "Checks that your PHP and extensions versions match the platform requirements of the installed packages.\n\n\ Unlike update/install, this command will ignore config.platform settings and check the real platform packages so you can be certain you have the required platform dependencies.\n\n\ - <info>php composer.phar check-platform-reqs</info>\n\n" + <info>shirabe check-platform-reqs</info>\n\n" ); Ok(()) } diff --git a/crates/shirabe/src/command/config_command.rs b/crates/shirabe/src/command/config_command.rs index 0243d6a..0752052 100644 --- a/crates/shirabe/src/command/config_command.rs +++ b/crates/shirabe/src/command/config_command.rs @@ -789,7 +789,7 @@ impl Command for ConfigCommand { } return Err(RuntimeException { - message: "You must pass the type and a url. Example: php composer.phar config repositories.foo vcs https://bar.com".to_string(), + message: "You must pass the type and a url. Example: shirabe config repositories.foo vcs https://bar.com".to_string(), code: 0, } .into()); @@ -1285,7 +1285,8 @@ impl ConfigCommand { let (validator, normalizer) = callbacks; if 1 != values.len() { return Err(RuntimeException { - message: "You can only pass one value. Example: php composer.phar config process-timeout 300".to_string(), + message: "You can only pass one value. Example: shirabe config process-timeout 300" + .to_string(), code: 0, } .into()); diff --git a/crates/shirabe/src/command/create_project_command.rs b/crates/shirabe/src/command/create_project_command.rs index b1ef8ec..99f73e9 100644 --- a/crates/shirabe/src/command/create_project_command.rs +++ b/crates/shirabe/src/command/create_project_command.rs @@ -112,9 +112,9 @@ impl Command for CreateProjectCommand { with a composer.json file it installs the packages for the current project.\n\n\ You can use this command to bootstrap new projects or setup a clean\n\ version-controlled installation for developers of your project.\n\n\ - <info>php composer.phar create-project vendor/project target-directory [version]</info>\n\n\ + <info>shirabe create-project vendor/project target-directory [version]</info>\n\n\ You can also specify the version with the package name using = or : as separator.\n\n\ - <info>php composer.phar create-project vendor/project:version target-directory</info>\n\n\ + <info>shirabe create-project vendor/project:version target-directory</info>\n\n\ To install unstable packages, either specify the version you want, or use the\n\ --stability=dev (where dev can be one of RC, beta, alpha or dev).\n\n\ To setup a developer workable version you should create the project using the source\n\ diff --git a/crates/shirabe/src/command/depends_command.rs b/crates/shirabe/src/command/depends_command.rs index 3b139a9..bc9dd27 100644 --- a/crates/shirabe/src/command/depends_command.rs +++ b/crates/shirabe/src/command/depends_command.rs @@ -96,7 +96,7 @@ impl Command for DependsCommand { ]); self.set_help( "Displays detailed information about where a package is referenced.\n\n\ - <info>php composer.phar depends composer/composer</info>\n\n\ + <info>shirabe depends composer/composer</info>\n\n\ Read more at https://getcomposer.org/doc/03-cli.md#depends-why", ); Ok(()) diff --git a/crates/shirabe/src/command/dump_autoload_command.rs b/crates/shirabe/src/command/dump_autoload_command.rs index 8045d16..a1e50f5 100644 --- a/crates/shirabe/src/command/dump_autoload_command.rs +++ b/crates/shirabe/src/command/dump_autoload_command.rs @@ -58,7 +58,7 @@ impl Command for DumpAutoloadCommand { InputOption::new("strict-ambiguous", None, Some(InputOption::VALUE_NONE), "Return a failed status code (2) if the same class is found in multiple files. Requires --optimize to work.", None).unwrap().into(), ]); self.set_help( - "<info>php composer.phar dump-autoload</info>\n\n\ + "<info>shirabe dump-autoload</info>\n\n\ Read more at https://getcomposer.org/doc/03-cli.md#dump-autoload-dumpautoload", ); Ok(()) diff --git a/crates/shirabe/src/command/init_command.rs b/crates/shirabe/src/command/init_command.rs index de68829..3806da5 100644 --- a/crates/shirabe/src/command/init_command.rs +++ b/crates/shirabe/src/command/init_command.rs @@ -128,7 +128,7 @@ impl Command for InitCommand { "The <info>init</info> command creates a basic composer.json file\n\ in the current directory.\n\ \n\ - <info>php composer.phar init</info>\n\ + <info>shirabe init</info>\n\ \n\ Read more at https://getcomposer.org/doc/03-cli.md#init", ); diff --git a/crates/shirabe/src/command/install_command.rs b/crates/shirabe/src/command/install_command.rs index 74d75bf..3fa8ed2 100644 --- a/crates/shirabe/src/command/install_command.rs +++ b/crates/shirabe/src/command/install_command.rs @@ -78,7 +78,7 @@ impl Command for InstallCommand { the current directory, processes it, and downloads and installs all the\n\ libraries and dependencies outlined in that file. If the file does not\n\ exist it will look for composer.json and do the same.\n\n\ - <info>php composer.phar install</info>\n\n\ + <info>shirabe install</info>\n\n\ Read more at https://getcomposer.org/doc/03-cli.md#install-i", ); Ok(()) diff --git a/crates/shirabe/src/command/prohibits_command.rs b/crates/shirabe/src/command/prohibits_command.rs index 02aaf33..5e66c33 100644 --- a/crates/shirabe/src/command/prohibits_command.rs +++ b/crates/shirabe/src/command/prohibits_command.rs @@ -103,7 +103,7 @@ impl Command for ProhibitsCommand { ]); self.set_help( "Displays detailed information about why a package cannot be installed.\n\n\ - <info>php composer.phar prohibits composer/composer</info>\n\n\ + <info>shirabe prohibits composer/composer</info>\n\n\ Read more at https://getcomposer.org/doc/03-cli.md#prohibits-why-not", ); Ok(()) diff --git a/crates/shirabe/src/command/reinstall_command.rs b/crates/shirabe/src/command/reinstall_command.rs index 9c71f01..c7b6cc0 100644 --- a/crates/shirabe/src/command/reinstall_command.rs +++ b/crates/shirabe/src/command/reinstall_command.rs @@ -76,7 +76,7 @@ impl Command for ReinstallCommand { uninstalls them and reinstalls them. This lets you do a clean install\n\ of a package if you messed with its files, or if you wish to change\n\ the installation type using --prefer-install.\n\n\ - <info>php composer.phar reinstall acme/foo \"acme/bar-*\"</info>\n\n\ + <info>shirabe reinstall acme/foo \"acme/bar-*\"</info>\n\n\ Read more at https://getcomposer.org/doc/03-cli.md#reinstall", ); Ok(()) diff --git a/crates/shirabe/src/command/remove_command.rs b/crates/shirabe/src/command/remove_command.rs index 1ee32ac..4e4f5dc 100644 --- a/crates/shirabe/src/command/remove_command.rs +++ b/crates/shirabe/src/command/remove_command.rs @@ -171,7 +171,7 @@ impl Command for RemoveCommand { self.set_help( "The <info>remove</info> command removes a package from the current\n\ list of installed packages\n\n\ - <info>php composer.phar remove</info>\n\n\ + <info>shirabe remove</info>\n\n\ Read more at https://getcomposer.org/doc/03-cli.md#remove-rm", ); Ok(()) diff --git a/crates/shirabe/src/command/run_script_command.rs b/crates/shirabe/src/command/run_script_command.rs index db6463e..92f9ccf 100644 --- a/crates/shirabe/src/command/run_script_command.rs +++ b/crates/shirabe/src/command/run_script_command.rs @@ -171,7 +171,7 @@ impl Command for RunScriptCommand { ]); self.set_help( "The <info>run-script</info> command runs scripts defined in composer.json:\n\n\ - <info>php composer.phar run-script post-update-cmd</info>\n\n\ + <info>shirabe run-script post-update-cmd</info>\n\n\ Read more at https://getcomposer.org/doc/03-cli.md#run-script-run", ); Ok(()) diff --git a/crates/shirabe/src/command/script_alias_command.rs b/crates/shirabe/src/command/script_alias_command.rs index e740c4b..02a25b2 100644 --- a/crates/shirabe/src/command/script_alias_command.rs +++ b/crates/shirabe/src/command/script_alias_command.rs @@ -104,7 +104,7 @@ impl Command for ScriptAliasCommand { ]); self.set_help( "The <info>run-script</info> command runs scripts defined in composer.json:\n\n\ - <info>php composer.phar run-script post-update-cmd</info>\n\n\ + <info>shirabe run-script post-update-cmd</info>\n\n\ Read more at https://getcomposer.org/doc/03-cli.md#run-script-run", ); Ok(()) diff --git a/crates/shirabe/src/command/search_command.rs b/crates/shirabe/src/command/search_command.rs index 794d8e0..a3254e4 100644 --- a/crates/shirabe/src/command/search_command.rs +++ b/crates/shirabe/src/command/search_command.rs @@ -97,7 +97,7 @@ impl Command for SearchCommand { ]); self.set_help( "The search command searches for packages by its name\n\ - <info>php composer.phar search symfony composer</info>\n\n\ + <info>shirabe search symfony composer</info>\n\n\ Read more at https://getcomposer.org/doc/03-cli.md#search", ); Ok(()) diff --git a/crates/shirabe/src/command/self_update_command.rs b/crates/shirabe/src/command/self_update_command.rs index a32f931..510b097 100644 --- a/crates/shirabe/src/command/self_update_command.rs +++ b/crates/shirabe/src/command/self_update_command.rs @@ -62,7 +62,7 @@ impl Command for SelfUpdateCommand { "The <info>self-update</info> command checks getcomposer.org for newer\n\ versions of composer and if found, installs the latest.\n\ \n\ - <info>php composer.phar self-update</info>\n\ + <info>shirabe self-update</info>\n\ \n\ Read more at https://getcomposer.org/doc/03-cli.md#self-update-selfupdate", ); diff --git a/crates/shirabe/src/command/update_command.rs b/crates/shirabe/src/command/update_command.rs index 873b244..33a13a8 100644 --- a/crates/shirabe/src/command/update_command.rs +++ b/crates/shirabe/src/command/update_command.rs @@ -74,17 +74,17 @@ impl Command for UpdateCommand { "The <info>update</info> command reads the composer.json file from the\n\ current directory, processes it, and updates, removes or installs all the\n\ dependencies.\n\n\ - <info>php composer.phar update</info>\n\n\ + <info>shirabe update</info>\n\n\ To limit the update operation to a few packages, you can list the package(s)\n\ you want to update as such:\n\n\ - <info>php composer.phar update vendor/package1 foo/mypackage [...]</info>\n\n\ + <info>shirabe update vendor/package1 foo/mypackage [...]</info>\n\n\ You may also use an asterisk (*) pattern to limit the update operation to package(s)\n\ from a specific vendor:\n\n\ - <info>php composer.phar update vendor/package1 foo/* [...]</info>\n\n\ + <info>shirabe update vendor/package1 foo/* [...]</info>\n\n\ To run an update with more restrictive constraints you can use:\n\n\ - <info>php composer.phar update --with vendor/package:1.0.*</info>\n\n\ + <info>shirabe update --with vendor/package:1.0.*</info>\n\n\ To run a partial update with more restrictive constraints you can use the shorthand:\n\n\ - <info>php composer.phar update vendor/package:1.0.*</info>\n\n\ + <info>shirabe update vendor/package:1.0.*</info>\n\n\ To select packages names interactively with auto-completion use <info>-i</info>.\n\n\ Read more at https://getcomposer.org/doc/03-cli.md#update-u-upgrade\n", ); |
