Dev(mode) is a project management utility for developers.
``` USAGE: devmode [SUBCOMMAND]
FLAGS: -h, --help Prints help information -V, --version Prints version information
SUBCOMMANDS: clone Clones a utils repository in a specific folder structure. config Sets options for configuration. help Prints this message or the help of the given subcommand(s) open Opens a project on your selected text editor. ```
paru -S devmode-git
cargo install devmode
The config
command will help you configure devmode
to your liking.
You can set your favorite text editor running:
devmode config -e | devmode config --editor
You can set your Git host running:
devmode config -h | devmode config --host
You can set your Git user running:
devmode config -o | devmode config --owner
You can configure everything running:
devmode config -a | devmode config --all
You can show your current config running:
``` devmode config -s | devmode config --show
Current settings: Host: GitHub Owner: edfloreshz Editor: Visual Studio Code ```
Dev(mode) facilitates repository storage and organization in your filesystem.
When you clone a repository it will be stored to your filesystem using a specific folder structure.
$HOME
└── Developer
└── host
└── owner
└── repo
This makes it easier for you to find repositories and allows devmode
to open them by just specifying the name of the
project.
```
USAGE:
devmode clone
FLAGS: -h, --help Prints help information -V, --version Prints version information
ARGS:
bash
devmode clone https://github.com/edfloreshz/devmode
bash
devmode clone <host> <owner> <repository>
config.toml
Running devmode config
asks you to specify your Git host
and user
, now just type one of your repos.
bash
devmode clone <repo>
You can clone without specifying the arguments.
bash
devmode clone
You will be presented with the following setup:
``` ᐅ devmode clone
? Choose your Git host: › ❯ GitHub GitLab ? Git username: › user ? Git repo name: › repo
Cloning edfloreshz/blog from GitHub... ```
Opens a project with your selected text editor.
```
USAGE:
devmode open
FLAGS: -h, --help Prints help information -V, --version Prints version information
ARGS:
You can open a project with the following command:
bash
devmode open <project>
If two or more projects with the same name are found, you will have to choose which one to open.
If you have a proposal for a new feature, open a new issue.