aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/console/completion/output/completion_output_interface.rs
blob: e92adf37a4eef50cf66eb990079e134ad1b53510 (plain)
1
2
3
4
5
6
7
use crate::symfony::console::completion::completion_suggestions::CompletionSuggestions;
use crate::symfony::console::output::output_interface::OutputInterface;

/// Transforms the `CompletionSuggestions` object into output readable by the shell completion.
pub trait CompletionOutputInterface: std::fmt::Debug {
    fn write(&self, suggestions: &CompletionSuggestions, output: &dyn OutputInterface);
}