Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bartvanbenthem committed Jun 20, 2023
1 parent 5f17c45 commit 46e4ab5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ fn main() -> MyResult<()> {
Ok(())
}

// --------------------------------------------------
fn get_args() -> MyResult<Config> {
// Define and parse command-line arguments using clap
let matches = App::new("Template Renderer")
Expand Down Expand Up @@ -94,6 +95,7 @@ fn get_args() -> MyResult<Config> {
})
}

// --------------------------------------------------
fn manifest_writer(output: &String, template: &String) -> MyResult<()> {
if output.is_empty() {
// Get the stdout handle
Expand All @@ -115,6 +117,7 @@ fn manifest_writer(output: &String, template: &String) -> MyResult<()> {
Ok(())
}

// --------------------------------------------------
fn print_current_dir() {
if let Ok(current_dir) = env::current_dir() {
println!("Current Directory: {}", current_dir.display());
Expand Down

0 comments on commit 46e4ab5

Please sign in to comment.