aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/command/config_command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/command/config_command.rs')
-rw-r--r--crates/shirabe/src/command/config_command.rs13
1 files changed, 6 insertions, 7 deletions
diff --git a/crates/shirabe/src/command/config_command.rs b/crates/shirabe/src/command/config_command.rs
index a6ba2f76..0b22757a 100644
--- a/crates/shirabe/src/command/config_command.rs
+++ b/crates/shirabe/src/command/config_command.rs
@@ -24,9 +24,9 @@ use shirabe_external_packages::symfony::console::input::InputInterface;
use shirabe_external_packages::symfony::console::output::OutputInterface;
use shirabe_php_shim::{
InvalidArgumentException, PhpMixed, RuntimeException, array_is_list, array_merge,
- escapeshellcmd, exec, explode, file_exists, implode, in_array, is_array, is_bool, is_dir,
- is_numeric, is_object, is_string, json_encode, php_regex, str_replace, strpos, strtolower,
- system, touch, var_export,
+ escapeshellcmd, exec, explode, file_exists, impl_php_class, implode, in_array, is_array,
+ is_bool, is_dir, is_numeric, is_object, is_string, json_encode, php_regex, str_replace, strpos,
+ strtolower, system, touch, var_export,
};
use shirabe_semver::VersionParser;
@@ -43,6 +43,8 @@ pub struct ConfigCommand {
pub(crate) auth_config_source: std::cell::RefCell<Option<JsonConfigSource>>,
}
+impl_php_class!(ConfigCommand, r"Composer\Command\ConfigCommand");
+
impl ConfigCommand {
/// List of additional configurable package-properties
pub(crate) const CONFIGURABLE_PACKAGE_PROPERTIES: &'static [&'static str] = &[
@@ -1281,10 +1283,7 @@ impl Command for ConfigCommand {
crate::command::base_command::base_command_complete(self, input, suggestions)
}
- shirabe_external_packages::delegate_command_trait_impls_to_inner!(
- base_command_data,
- "Composer\\Command\\ConfigCommand"
- );
+ shirabe_external_packages::delegate_command_trait_impls_to_inner!(base_command_data);
}
impl BaseCommand for ConfigCommand {