aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/command/bump_command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/command/bump_command.rs')
-rw-r--r--crates/shirabe/src/command/bump_command.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/crates/shirabe/src/command/bump_command.rs b/crates/shirabe/src/command/bump_command.rs
index 86695cb..7707bb6 100644
--- a/crates/shirabe/src/command/bump_command.rs
+++ b/crates/shirabe/src/command/bump_command.rs
@@ -4,6 +4,7 @@ use crate::io::io_interface;
use anyhow::Result;
use shirabe_external_packages::composer::pcre::preg::Preg;
use shirabe_external_packages::symfony::component::console::command::command::Command;
+use shirabe_external_packages::symfony::component::console::command::command::CommandBase;
use shirabe_external_packages::symfony::console::input::input_interface::InputInterface;
use shirabe_external_packages::symfony::console::output::output_interface::OutputInterface;
use shirabe_php_shim::{PhpMixed, file_get_contents, file_put_contents, is_writable, strtolower};
@@ -26,7 +27,7 @@ use crate::util::silencer::Silencer;
#[derive(Debug)]
pub struct BumpCommand {
- inner: Command,
+ inner: CommandBase,
composer: Option<Composer>,
io: Option<Box<dyn IOInterface>>,
}
@@ -383,11 +384,11 @@ impl BumpCommand {
}
impl BaseCommand for BumpCommand {
- fn inner(&self) -> &Command {
+ fn inner(&self) -> &CommandBase {
&self.inner
}
- fn inner_mut(&mut self) -> &mut Command {
+ fn inner_mut(&mut self) -> &mut CommandBase {
&mut self.inner
}
@@ -407,3 +408,5 @@ impl BaseCommand for BumpCommand {
&mut self.io
}
}
+
+impl Command for BumpCommand {}