Add: Some comments added in the main.rs
This commit is contained in:
parent
8125876634
commit
2441d8c4a2
@ -18,13 +18,15 @@ fn main() {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// Start program flow
|
// Command matcher
|
||||||
match matches.subcommand() {
|
match matches.subcommand() {
|
||||||
|
// gst projects
|
||||||
("projects", Some(_matches)) => {
|
("projects", Some(_matches)) => {
|
||||||
console::info("List of projects");
|
console::info("List of projects");
|
||||||
cmd::get_projects(&config_file);
|
cmd::get_projects(&config_file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// gst tasks [--project]
|
||||||
("tasks", Some(matches)) => {
|
("tasks", Some(matches)) => {
|
||||||
console::info("List of tasks");
|
console::info("List of tasks");
|
||||||
let project = matches.value_of("project")
|
let project = matches.value_of("project")
|
||||||
|
Loading…
Reference in New Issue
Block a user