https://github.com/horacehylee/workenv-cli
Cli tool for managing working environment programs
https://github.com/horacehylee/workenv-cli
cli presets typescript webpack webpack3 workenv-cli
Last synced: 3 months ago
JSON representation
Cli tool for managing working environment programs
- Host: GitHub
- URL: https://github.com/horacehylee/workenv-cli
- Owner: horacehylee
- License: mit
- Created: 2018-01-12T07:04:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-26T14:16:30.000Z (over 7 years ago)
- Last Synced: 2025-06-10T11:59:06.202Z (4 months ago)
- Topics: cli, presets, typescript, webpack, webpack3, workenv-cli
- Language: TypeScript
- Size: 137 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# workenv-cli
Cli tool for managing working environment programs for Windows
[](https://badge.fury.io/js/workenv-cli)
[](https://ci.appveyor.com/project/horacehylee/workenv-cli)
[](https://coveralls.io/github/horacehylee/workenv-cli?branch=master&service=github)## Installation
NPM
```
$ npm install -g workenv-cli
```Yarn
```
$ yarn global add workenv-cli
```## Usage
### Programs
#### Add Program
##### With program path
```
workenv program add C:\\...\TelegramDesktop\Telegram.exe
> What do you want to call the program? (telegram):
```##### Without program path
```
workenv program add
> What do you want to call the program? :
> What is the program path?:
```#### List Programs
```
workenv program
workenv program list
workenv program ls
```#### Remove Program
```
workenv program remove telegram
```#### Run Program
```
workenv program run telegram
```### Kill Program
```
workenv program kill telegram
```### Preset Management
#### Add Preset
```
workenv add
```#### Edit Preset
Can enable or disable program for the preset.
```
workenv edit
> Select the program to be included:
```#### View Preset
```
workenv view
```#### List Presets
```
workenv list
workenv ls
```#### Remove Preset
```
workenv remove
workenv rm
```### Preset Usage
#### Start preset
It will start all the programs enabled for the preset. If the program is already opened, it will be ignored.
```
workenv
workenv start
workenv ...
```#### Exit preset
It will close all programs listed for the preset.
```
workenv exit
```### Backup and restore
#### Backup
```
workenv backup
```#### Restore
```
workenv restore
```## License
MIT © [Horace Lee](https://github.com/horacehylee)