This new command will work like cargo's init command, and will setup a new Project in an existing directory.
This can be implemented in two steps:
Add the behavior in src/commands.init.rs file.
Create a new CLI subcommand in the src/main.rs file.
Reference: https://doc.rust-lang.org/cargo/commands/cargo-init.html.
PS: We are currently focusing on the base command, so it should just be able to set-up a new project in the directory by creating the necessary files and env.
This new command will work like cargo's
init
command, and will setup a new Project in an existing directory.This can be implemented in two steps:
src/commands.init.rs
file.src/main.rs
file.Reference: https://doc.rust-lang.org/cargo/commands/cargo-init.html. PS: We are currently focusing on the base command, so it should just be able to set-up a new project in the directory by creating the necessary files and env.