0.5.1 • Published 4 years ago

@slimio/cli v0.5.1

Weekly downloads
13
License
MIT
Repository
github
Last release
4 years ago

CLI

version Maintenance MIT dep size Known Vulnerabilities Build Status Greenkeeper badge

SlimIO Command Line Interface. This tool has been created to help Developer and Integrator to work, design and scale the product easily.

Requirements

  • Node.js version 12 or higher
  • Administrative privilege for some commands.

Getting Started

This package is available in the Node Package Repository and can be easily installed with npm or yarn.

$ npm i @slimio/cli -g

Or if you want to link the project yourself

$ git clone https://github.com/SlimIO/CLI.git
$ cd CLI
$ npm ci
$ npm link

Environment Variables

To configure the project you have to register (set) environment variables on your system. These variables can be set in a .env file (that file must be created at the root of the project).

GIT_TOKEN=

To known how to get a GIT_TOKEN or how to register environment variables follow our Governance Guide.

Usage Exemple

$ slimio --help
# or
$ slimio -h

API

A complete CLI API is available on the Governance.

Dependencies

NameRefactoringSecurity RiskUsage
@slimio/addon-factoryMinorLowProgrammatically generate a SlimIO Addon
@slimio/async-cli-spinnerMinorLowElegant Asynchronous Terminal (CLI) Spinner for Node.js
@slimio/bundlerMinorHighCore & Addons Archives bundler
@slimio/configMinorHighReactive and safe JSON Configuration loaded
@slimio/coreMinorHighSlimIO Core
@slimio/installerMinorHighTBC
@slimio/isMinorLowJavaScript Type checker
@slimio/json-diffMinorHighTBC
@slimio/lazyMinorLowLazy evaluation on JavaScript Objects
@slimio/lockMinorHighNode.js Semaphore for async/await
@slimio/manifestMinorLowManage SlimIO manifest files
@slimio/pretty-jsonMinorLowStdout beautified JSON in your terminal with colors
@slimio/pretty-stackMinorLowprettify stack-trace to stdout in TTY
@slimio/stdinMinorLowInteractive input crafted for REPL with history & auto-completion
@slimio/tcp-sdkMinorLowCommunicate to the Socket Addon with TCP/IP
@slimio/utilsMinorLowBunch of useful functions
@slimio/validate-addon-nameMinorLowValidate/Sanitize SlimIO Addons names
cacacheMinorHighManaging local key and content address caches
dotenv⚠️MajorLowDotenv is a zero-dependency module that loads environment variables
fast-levenshteinMinorLowAn efficient Javascript implementation of the Levenshtein algorithm
json-diffMinorHighStructural diff for JSON files
kleur⚠️MajorLowThe fastest Node.js library for formatting terminal text with ANSI colors~!
lodash.clonedeepMinorLowClone deep Objects
make-promises-safe⚠️MajorMediumForce Node.js DEP00018
msMinorLowConvert various time formats to milliseconds.
qoa⚠️MajorLowInteractive CLI prompt
sadeMinorHighSade is a small but powerful tool for building command-line interface (CLI)
ynMinorLowTBC

License

MIT