Cli tool for managing working environment programs for Windows
NPM
$ npm install -g workenv-cli
Yarn
$ yarn global add workenv-cli
workenv program add C:\\...\TelegramDesktop\Telegram.exe
> What do you want to call the program? (telegram):
workenv program add
> What do you want to call the program? :
> What is the program path?:
workenv program
workenv program list
workenv program ls
workenv program remove telegram
workenv program run telegram
workenv program kill telegram
workenv add <preset_name>
Can enable or disable program for the preset.
workenv edit <preset_name>
> Select the program to be included:
workenv view <preset_name>
workenv list
workenv ls
workenv remove <preset_name>
workenv rm <preset_name>
It will start all the programs enabled for the preset. If the program is already opened, it will be ignored.
workenv <preset_name>
workenv start <preset_name>
workenv <preset_name> ...<more_preset_names>
It will close all programs listed for the preset.
workenv exit <preset_name>
workenv backup
workenv restore
MIT © Horace Lee