Idea
Create a command that goes like codeopen --add_dir DIR_NAME --editor code. This would add the directory to the config file, with the directory's name as the name in the config.toml, and the default editor as code (aka VSCode). It would add the path of the folder to the config.toml file.
The src/ folder contains the contents for the Rust CLI.
Todo
- Create flag
--add_dir
- Parse directory name and add it to config
- Add directory path to config
- Parse editor with editor flag and add it to config
Idea
Create a command that goes like
codeopen --add_dir DIR_NAME --editor code. This would add the directory to the config file, with the directory's name as the name in theconfig.toml, and the default editor ascode(aka VSCode). It would add the path of the folder to theconfig.tomlfile.The
src/folder contains the contents for the Rust CLI.Todo
--add_dir