@squarefactory/isquare-cli

0.0.4 • Public • Published

isquare cli

Installation instructions

Standalone

We distribute the isquare CLI as standalone executable.

Node.js user

If you are using Node.js, you can easily install the CLI with your favorite package manager:

npm install --global @squarefactory/isquare-cli
# yarn global add @squarefactory/isquare-cli  # if using yarn v1
# pnpm install --global @squarefactory/isquare-cli  # if using pnpm

Usage

Most of the commands are discoverable using the --help flag.

Login

In order to use the CLI you need to:

  1. create an account on the isquare training platform
  2. create a token on the tokens page
  3. copy the token (which starts by i2_...) and run the following command:
i2 login <token>

Expected output:

INFO  Logged at you@example.com

Architecture

  • src contains the source code
    • commands the cli subcommands
    • lib miscellaneous functions and routines
    • i2.ts the CLI entrypoint

/@squarefactory/isquare-cli/

    Package Sidebar

    Install

    npm i @squarefactory/isquare-cli

    Weekly Downloads

    1

    Version

    0.0.4

    License

    MIT

    Unpacked Size

    50.3 kB

    Total Files

    49

    Last publish

    Collaborators

    • valentin-pollart