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
Whenever the user runs the codeopen command (at all times), it should check the current version of the software and see if there is an updated version in GitHub Releases.
Todo
Add version number to config file
Run update checking everytime the CLI is run
Check if version is latest compared to remote repo. If not, give a colorful output to prompt the user to update their version with the install.sh script