Skip to content

add better argument parsing #176

Open
@github-actions

Description

@github-actions

// TODO: add better argument parsing

}


// TODO: add better argument parsing
#[allow(unused_mut)]
fn main() {
    let filename = std::env::args().nth(1).expect("no filename given");

    println!("converting `{}` file to gcloud", filename);

    let file = std::fs::File::open(&filename).expect("failed to open file");
    let mut reader = std::io::BufReader::new(file);

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions