Add: Some comments added in the main.rs

This commit is contained in:
Óscar M. Lage 2021-11-14 14:55:53 +01:00
parent 8125876634
commit 2441d8c4a2

View File

@ -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")