https://github.com/betree/dev-commander
🦍 Always use the same language-agnostic commands to develop accross your projects.
https://github.com/betree/dev-commander
bash bash-alias bash-script developer-tools
Last synced: 3 months ago
JSON representation
🦍 Always use the same language-agnostic commands to develop accross your projects.
- Host: GitHub
- URL: https://github.com/betree/dev-commander
- Owner: Betree
- License: mit
- Created: 2018-11-14T20:44:29.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-12-13T08:42:01.000Z (about 1 year ago)
- Last Synced: 2025-10-06T05:58:42.847Z (4 months ago)
- Topics: bash, bash-alias, bash-script, developer-tools
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🦍 D3v c0mm4nd3r
Stop confusing your commands and using `npm run` in your Elixir projects.
Always use the same language-agnostic commands to run your developement commands.
This script will auto-detect your project type based on files presence (`package.json`
for npm, `mix.exs` for Elixir...).
Currently supported project types:
- Elixir (mix)
- NodeJS (npm)
## Install
```bash
# Clone the project to your home folder
git clone https://github.com/Betree/dev-commander.git ~/.dev-commander
# At this to your `~/.bashrc`, `~/.zshrc` or wherether your shell config is
source ~/.dev-commander/init.sh
# If you're a weak person and want to disable short aliases to only use
# commander with the `dcd` command, you can use this instead
source ~/.dev-commander/init_without_aliases.sh
```
## Use
If you have disabled short aliases, you can use these commands with `dcd`, like
in `dcd dev` or `dcd install`.
### Project-specifics commands
- `dev` Run the development server or the app binary
- `install` Install dependencies
- `build` Build or compile project
- `dbmigrate` Migrate database
### Git shortcuts
- `commit` Make a git commit
- `amend` Amend your previous commit
## Configuration
Not yet. Maybe never.