Trait conductor::cmd::CommandRepo
[−]
[src]
pub trait CommandRepo { fn repo_list<CR>(&self, runner: &CR) -> Result<(), Error> where CR: CommandRunner; fn repo_clone<CR>(&self, runner: &CR, alias: &str) -> Result<(), Error> where CR: CommandRunner; }
We implement conductor repo
with a trait so we put it in its own module.
Required Methods
fn repo_list<CR>(&self, runner: &CR) -> Result<(), Error> where CR: CommandRunner
List all the repositories associated with a project.
fn repo_clone<CR>(&self, runner: &CR, alias: &str) -> Result<(), Error> where CR: CommandRunner
Clone the specified repository.
Implementors
impl CommandRepo for Project