Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Commit

Permalink
Update readme + preview.png
Browse files Browse the repository at this point in the history
  • Loading branch information
Dewep committed Apr 8, 2018
1 parent 3f2b8d3 commit b0b8668
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,23 @@ The list of commands must be in your "home" folder (`C:/Users/XXXX/` or `/home/X

root: C:\Users\Dewep\Documents\projects

shell: [C:\Program Files\Git\git-bash.exe, --cd=%dir%]

extra:
git:
name: Git pull FF
cmd: git pull --ff-only
npm:
name: Npm install
cmd: npm install

default-extra: [git, npm]

commands:
- name: Vagrant WorkSpace
cmd: vagrant up
stop-cmd: vagrant halt
extra: []

- name: Watch-Later/Server
path: Watch-Later
Expand All @@ -33,11 +46,15 @@ __commands[]__:
- `name`: Name of the command. Possibility to group the command in sections, by adding the section name followed by a `/` before the name (`Section name/Command name`).
- `path` _(optional)_: Directory path to run the command. This is append to the `root` configuration path.
- `cmd`: Command to exec
- `cmd`: Command to exec.
- `stop-cmd` _(optional)_: If defined, allows to have a command to execute when stopping the service. This is useful for commands such as Vagrant: `cmd` is used to start the VM (`vagrant up`), `stop-cmd` to stop it (`vagrant halt`).
- `extra` _(optional, default to `default-extra`)_: Array of extra commands (present in the status-bar).

__extra[]__:

- `name`: Name of the extra command.
- `cmd`: Command to exec.

## Todo
__shell[]__:

- Ctrl+L to clear output
- Ctrl+C to stop
- Build release for linux
- Arguments to spawn a new shell (`Open shell` in the status-bar). `%dir%` is replaced with the directory path of the "command".
Binary file modified assets/preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b0b8668

Please sign in to comment.