Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Runny

Run one command in a couple directories.

Install

npm i runny -g

How to use?

$ runny
Usage: runny [options]
Options:
  -h, --help          display this help and exit
  -v, --version       display version and exit
  -c, --command       command to run
  -d, --directories   directories, divided by ","
  --save              save config to file ~/.runny.json
  --save-here         save config to file ./runny.json

Config

You could create file .runny.json in home directory, or runny.json in current directory with fields:

{
    "command": "pwd",
    "directories": [
        "~/one",
        "~/two",
        "~/three"
    ]
}

Data will be read before execution in next order (left is more important):

command line -> ./runny.json -> ~/.runny.json

License

MIT

You can’t perform that action at this time.