An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# workenv-cli

Cli tool for managing working environment programs for Windows

[![npm version](https://badge.fury.io/js/workenv-cli.svg)](https://badge.fury.io/js/workenv-cli)
[![Build status](https://ci.appveyor.com/api/projects/status/2uhjbnedwdiuwpb9?svg=true)](https://ci.appveyor.com/project/horacehylee/workenv-cli)
[![Coverage Status](https://coveralls.io/repos/github/horacehylee/workenv-cli/badge.svg?branch=master&service=github)](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)