cargo run -- <path> <filename> <extension>
cargo run -- screen homeScreen tsx
cargo run -- atom homeAtom ts
cargo run -- component homeComponent tsx
This is early development version. I am currently considering:
- Parse 3 arguments
action
andfilename
andextension
. - implement
cargo run -- screen homeScreen tsx
command. - break code into functions.
- create any file.
- verify if path exist before creation.
- create any file but check if file exist.
- write exemple string to the file.
- verify if path exist before creation (look for other solutions and compare if there is a better one).
- implement templates.