willy-cli
v7.3.2
Published
Willy1 - Dinero Docker management system
Downloads
181
Keywords
Readme
Willy1 CLI
CLI for Dinero Microservice Architecture based on docker compose and swarm commands.
Table of Contents
Installation
npm install -g willy-cli
Usage
willy1 --help
Updating Willy1 CLI
willy1 update
Working with master
Setup
Make sure Willy1 is uninstalled from the computer before linking: npm uninstall -g willy-cli
git clone https://github.com/DineroRegnskab/willy.git
cd willy
npm link
npm link
is very similar to npm install -g
except that instead of downloading the package
from npm, the local repository becomes the global package.
Any changes to the files in the repository folder will immediately affect the global willy1
package,
allowing you to quickly test any changes you make to the cli project.
Now you can use willy1
via the command line:
willy1 list
willy1 start
..etc
Without linking
cd dist
node willy1.js list|init|start|etc
Publishing
To publish Willy1 CLI you can run one of the following commands to auto increment the correct semver and build the project.
npm version patch # will increment to a higher patch
npm version minor # will increment to a higher minor
npm version major # will increment to a higher major
npm version <version> # will set a custom version, useful if creating alpha packages
To publish Willy1 CLI you can run one of the following commands to push to GitHub and publish to npm.
npm run publish:stable # to publish a stable version
npm run publish:alpha # to publish a alpha version