chmp / cargo-wop

Run cargo on Rust source files without setting up a project
MIT License
1 stars 1 forks source link

Add new command #1

Closed chmp closed 3 years ago

chmp commented 4 years ago

Implement a way to generate a script with the correct scaffold. Support --bin and --lib. Examples

cargo wop new example.rs
cargo wop new example.rs --bin
cargo wop new example.rs --lib

# all flags:
cargo wop new example.rs --lib --bin --name [NAME] --edition [EDITION]