0.0.10 • Published 6 years ago
weave-dev v0.0.10
Weave Command Line
Command line interface for the Fluxweave Platform - https://www.npmjs.com/package/weave-cli
For users
Installation
- Install Node 8 or later; instructions.
- Install using npm:
npm i weave-cli -g
Updating
- Use npm:
npm update weave-cli -g
Usage
- Initialize your configuration by running
weave-cli login; follow prompts - To see available commands run
weave-cli -h
For developers
Installation
- Clone this project locally using
git. - Install Node 8 or later; instructions.
- Install
yarn; instructions. - Run
yarn(no arguments) to fully install needed libraries. - Run
yarn linkto configureweave-clias an executable script.
Usage
- Initialize your configuration by running
weave-cli login; follow prompts - To see available commands run
weave-cli -h
Store all workspace files under ./files so they don't cause conflicts with updates from git.
Updating
- Grab latest code with
git pull - Run
yarnto install any new dependencies
If you receive an error about local files move them to ./files and reset your local project. Keep in mind that reseting will delete any changed files that are showing under git status. To reset run git reset --hard.
Updating project in NPM
- Update the version with
npm version xxxwhere xxx is major, minor or patch - run
npm publish