aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/plugin/command_event.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-17 02:53:53 +0900
committernsfisis <nsfisis@gmail.com>2026-05-17 02:53:53 +0900
commita1c7e6908a26e10f6e1f23a51721664b5e2d838d (patch)
treec575c76f1b43359ed74913da4c6a2636643f1ba0 /crates/shirabe/src/plugin/command_event.rs
parent7f606f36fef0c0467c3c0db3d0da33af486dae8a (diff)
downloadphp-shirabe-a1c7e6908a26e10f6e1f23a51721664b5e2d838d.tar.gz
php-shirabe-a1c7e6908a26e10f6e1f23a51721664b5e2d838d.tar.zst
php-shirabe-a1c7e6908a26e10f6e1f23a51721664b5e2d838d.zip
chore(style): cargo fmt
Diffstat (limited to 'crates/shirabe/src/plugin/command_event.rs')
-rw-r--r--crates/shirabe/src/plugin/command_event.rs9
1 files changed, 7 insertions, 2 deletions
diff --git a/crates/shirabe/src/plugin/command_event.rs b/crates/shirabe/src/plugin/command_event.rs
index 0eb952a..aa5b366 100644
--- a/crates/shirabe/src/plugin/command_event.rs
+++ b/crates/shirabe/src/plugin/command_event.rs
@@ -1,8 +1,8 @@
//! ref: composer/src/Composer/Plugin/CommandEvent.php
+use crate::event_dispatcher::event::Event;
use shirabe_external_packages::symfony::console::input::input_interface::InputInterface;
use shirabe_external_packages::symfony::console::output::output_interface::OutputInterface;
-use crate::event_dispatcher::event::Event;
use shirabe_php_shim::PhpMixed;
#[derive(Debug)]
@@ -23,7 +23,12 @@ impl CommandEvent {
flags: Vec<PhpMixed>,
) -> Self {
let inner = Event::new(name, args, flags);
- Self { inner, command_name, input, output }
+ Self {
+ inner,
+ command_name,
+ input,
+ output,
+ }
}
pub fn get_input(&self) -> &dyn InputInterface {