blob: 6d6f6cf1dd944b4ef49264e649b88ba60a96deae (
plain)
1
2
3
4
5
6
7
8
9
|
//! ref: composer/src/Composer/Plugin/Capability/CommandProvider.php
// TODO(plugin): Commands Provider Interface. Plugins implementing this capability provide a list of commands.
use crate::command::BaseCommand;
use crate::plugin::capability::Capability;
pub trait CommandProvider: Capability {
fn get_commands(&self) -> Vec<Box<dyn BaseCommand>>;
}
|