aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/command/init_command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/command/init_command.rs')
-rw-r--r--crates/shirabe/src/command/init_command.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/crates/shirabe/src/command/init_command.rs b/crates/shirabe/src/command/init_command.rs
index 53b8915b..ec3f38b5 100644
--- a/crates/shirabe/src/command/init_command.rs
+++ b/crates/shirabe/src/command/init_command.rs
@@ -28,8 +28,9 @@ use shirabe_external_packages::symfony::console::output::OutputInterface;
use shirabe_php_shim::{
FILE_IGNORE_NEW_LINES, InvalidArgumentException, PHP_EOL, PHP_SERVER, PhpMixed,
array_flip_strings, array_intersect_key, array_map, basename, empty, explode, file,
- file_exists, file_get_contents, file_put_contents, get_current_user, implode, is_dir,
- is_string, php_regex, preg_quote, realpath, str_replace, strpos, strtolower, trim, ucwords,
+ file_exists, file_get_contents, file_put_contents, get_current_user, impl_php_class, implode,
+ is_dir, is_string, php_regex, preg_quote, realpath, str_replace, strpos, strtolower, trim,
+ ucwords,
};
use shirabe_spdx_licenses::SpdxLicenses;
@@ -45,6 +46,8 @@ pub struct InitCommand {
>,
}
+impl_php_class!(InitCommand, r"Composer\Command\InitCommand");
+
impl PackageDiscoveryTrait for InitCommand {
fn get_repos_mut(
&self,
@@ -908,10 +911,7 @@ impl Command for InitCommand {
crate::command::base_command::base_command_complete(self, input, suggestions)
}
- shirabe_external_packages::delegate_command_trait_impls_to_inner!(
- base_command_data,
- "Composer\\Command\\InitCommand"
- );
+ shirabe_external_packages::delegate_command_trait_impls_to_inner!(base_command_data);
}
impl BaseCommand for InitCommand {