improved init and started push

This commit is contained in:
JOLIMAITRE Matthieu 2022-09-26 00:17:38 +02:00
parent bb8ff09a7a
commit cb9a9a6316
2 changed files with 16 additions and 3 deletions

View file

@ -58,8 +58,11 @@ pub enum Commands {
command: String,
},
///
/// Initializes a project directory configuration, useful for custom flags, includes and custop push messages
init { path: String },
/// Pushes changes to the git server with a custom tag.
push,
}
fn append_includes(list: &mut Vec<String>) {
@ -120,5 +123,9 @@ fn main() {
}
Commands::init { path } => config::create(path),
Commands::push => {
todo!();
}
}
}