Skip to content

mkormout/utils-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

utils-cli

Handy CLI utils for everyday usage.

Installation

  • clone the repo
  • install dependencies and the package itself npm i -g

Usage

There are several functions with different purpose which can be split into multiple groups:

Glob Batch Operations

Set of functions supporting Glob mask!

Git

  • glob-git-add [options] Git add batch operation on multiple git folders.
  • glob-git-branch [options] Git branch batch operation on multiple git folders.
  • glob-git-checkout [options] Git checkout batch operation on multiple git folders.
  • glob-git-commit [options] Git commit batch operation on multiple git folders.
  • glob-git-fetch [options] Git fetch batch operation on multiple git folders.
  • glob-git-merge [options] Git merge batch operation on multiple git folders.
  • glob-git-pull [options] Git pull batch operation on multiple git folders.
  • glob-git-push [options] Git push batch operation on multiple git folders.
  • glob-git-reset [options] Git reset batch operation on multiple git folders.
  • glob-git-status [options] Git status batch operation on multiple git folders.
  • glob-git-submodule-update [options] Git submoudles update batch operation on multiple git folders.

Other

  • glob-exec [options] Exec batch operation on multiple folders defined by Glob pattern. Really handy when you want to run npm install or yarn, but also other bash or ps operations. One of the benefit is that there's support for sync/async calls!
  • glob-jsonpath [options] Performs specified "jsonpath" (see: https://www.npmjs.com/package/jsonpath) operation on given json file over multiple folders defined by Glob pattern. It's a very powerful tool for updating JSONs over multiple folders, for example you can update a version, add dependency, decription in multiple local project repositories, containing package.json file. But the usage is versatile.

Common

Various common functions not related to Glob.

  • list [options] List all files and folders in current folder. Just for testing purposes.
  • help [command] Display help for command.

About

Handy CLI utils for everyday usage.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published