https://github.com/kjbrum/dvlp
A command line tool for managing local projects.
https://github.com/kjbrum/dvlp
Last synced: 20 days ago
JSON representation
A command line tool for managing local projects.
- Host: GitHub
- URL: https://github.com/kjbrum/dvlp
- Owner: kjbrum
- License: mit
- Created: 2015-11-17T01:47:26.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-20T14:31:27.000Z (almost 8 years ago)
- Last Synced: 2025-02-12T07:55:22.487Z (2 months ago)
- Language: Shell
- Homepage:
- Size: 2.97 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 
> A command line tool for managing local projects.
## Install
```
$ curl https://raw.githubusercontent.com/kjbrum/dvlp/master/dvlp > ~/bin/dvlp
$ chmod +x ~/bin/dvlp
```## Usage
```
dvlp - v0.0.1A command line tool for managing local projects.
Usage:
dvlp init
dvlp config
dvlp startTasks:
cleanup Remove all config files
Name of the project of which you want to remove config files
config Set up the config file for a specific project
Name of the project you want to run
init Initialize necessary config files
list List all projects with config files
start Run a project's tasks
Name of the project you want to run
update Download the latest version of dvlp
version Display the current version
```## Config
#### DVLP_TASKS
The default tasks to run for a project. _(Be sure to separate each task with a comma)_
__Options:__
```
editor
"path/to/folder" The path of a folder to open in an editor
terminal
new [tab,window] Open a new tab/window
"path/to/folder"
split [top|right|bottom|left] Split a pane
"path/to/folder"
finder Open a folder in a new Finder window
"path/to/folder""path/to/folder" default = $DVLP_PROJECT_DIR/
```__Default:__
editor,terminal,finder
#### DVLP_EDITOR
The default text editor application.
__Options:__
- sublime text
__Default:__
sublime text
#### DVLP_TERMINAL
The default terminal application.
__Options:__
- iterm
__Default:__
iterm
#### DVLP_PROJECT_DIR
The folder your local projects are in.
__Default:__
/www/sites/
## To-Do
- Call `dvlp_config` when setting up the default config (DRY)
- Get the base tasks working
- editor
- "path/to/folder"
- terminal
- new [tab|window]
- "path/to/folder"
- split [vertical|horizontal]
- "path/to/folder"
- finder
- "path/to/folder"
- Add support for build tools (plugin?)
- [grunt|gulp|npm] "task to run" _(run a build tool task)_
- Add support for time tracking (plugin?)
- harvest
- toggl
- Add support for additional editors (plugin?)
- atom
- visual-studio
- brackets
- textmate
- coda
- Add support for additional terminals
- terminal
- iterm
- Add Bash autocomplete
- Add more information to README
- Default config file
- Project config files
- Add support for default settings
- Take a screencast of actually using it
- Make additional support work in the form of "plugins"
- ~~Add a `config` command for easily creating a config file for a project~~
- ~~Add an `update` command for downloading the most recent version~~
- ~~Set up config file (default)~~
- ~~Default tasks to run (editor,terminal,finder)~~
- ~~Editor (Sublime Text)~~
- ~~Terminal (iTerm)~~
- ~~Base destination for project folder (/www/sites)~~
- ~~Config file for individual projects with a default fallback~~
- ~~Default tasks, editor, and terminal~~## License
Copyright © [Kyle Brumm](http://kylebrumm.com). Free to use on whatever and may be redistributed under the terms specified in the [license](LICENSE.md).