Skip to content

rexlManu/keshi-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

keshi

NPM version NPM downloads

A simple CLI for running commands concurrently.

Made for laravel but works with everything.

Installation

yarn global add keshi-cli

npm install keshi-cli --global

Usage

To start everything, you just need to run the command keshi.

Keshi will then search for a keshi.default.js with tasks, if it doesn't exist, the default built in commands will be used.

Commands

keshi - Start all tasks concurrently

keshi -p <name> - Start all tasks from the preset

keshi init - Create the default config file

keshi create - Create a new preset

keshi list - List available presets

keshi delete <name> - Delete a preset

keshi --help

keshi --version

Config

The default looks like this if you generate it with keshi init.

module.exports = {
  preset: '',
  tasks: {
    laravel: 'php artisan serve',
    vue: 'yarn dev',
  },
};

You can set 'preset' to one of your presets

Presets

Your presets are saved in your user home directory under .keshirc or .keshirc.json.

Premade presets

Premade presets for certain development environments.

Laravel

You can find premade presets for laravel development here.

Goal

I originally developed this tool for the purpose, so that I don't have to open multiple terminals at once when programming Laravel apps with VueJS.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.