aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/console/completion/output/completion_output_interface.rs
blob: b1a77e56a0ad4af01cbfad86ab67e4f2f122b609 (plain)
1
2
3
4
5
6
7
8
9
//! ref: composer/vendor/symfony/console/Completion/Output/CompletionOutputInterface.php

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);
}