Metricly command line interface to the Metricly API.
This project originated from the awesome work done on netuitive-package-validator
Table of Contents
metricly is available as an OS specific binary or simple NPM installation.
Attached to the latest GitHub release there are binaries for each
Download the binary for your system, add it to your path, make it executable, and run metricly -h.
npm i -g metricly-cli
metricly -h
metricly supports the concept of profiles. You can run certain commands with --profile
metricly creates a default profile when you run metricly config
metricly config --profile new-profile
metricly --profile new-profile package list
to see if your command supports --profile see Verbose help
metricly supports a couple different formats for outputing the responses from Metricly API
- JSON: if you use
--format jsononlistandgetcommands thenmetriclywill format the response as json when printing to stdout - Text: by default,
metriclytries to print a nice sorted summary of names or titles along with an ID.
commands that support
--format jsonarelistandgetsee Verbose help
metricly --help
You can get verbose help on specific commands
metricly package list --help --verbose
npm i -g yarn
git clone https://github.com/metricly/metricly-cli.git
cd metricly-cli/
yarn
// Compile and run Node
yarn run compile
node js/bin/metricly.js
// Run directly with TypeScript
npm install -g ts-node
ts-node ts/bin/metricly.ts
// run tests
yarn test
// continuous testing
yarn run watch

