npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

conapps-cmx-cli

v1.2.0

Published

Conapps CMX CLI

Downloads

7

Readme

conapps-cmx-cli

Conapps CMX CLI

Version CircleCI Appveyor CI Codecov Downloads/week License

Usage

$ npm install -g conapps-cmx-cli
$ conapps-cmx COMMAND
running command...
$ conapps-cmx (-v|--version|version)
conapps-cmx-cli/1.2.0 darwin-x64 node-v10.3.0
$ conapps-cmx --help [COMMAND]
USAGE
  $ conapps-cmx COMMAND
...

Commands

conapps-cmx add-licences TENANT

Add licences to a tenant.

USAGE
  $ conapps-cmx add-licences TENANT

ARGUMENTS
  TENANT  Conapps CMX tenant to asign the new licences

OPTIONS
  -a, --ammount=ammount        (required) Ammount of licences to create
  -e, --endpoint=endpoint      [default: http://localhost:8989] DynamoDB endpoint.
  -e, --expiration=expiration  [default: never] Date of licence expiration
  -i, --interval=interval      [default: 100] Time between each DynamoDB call.
  -l, --local                  [default: true] Interact with a local DynamoDB endpoint.
  -p, --project=project        [default: conatel-cmx] ConappsCMX project name.
  -s, --stage=stage            [default: development] Environment value.

EXAMPLES
  $ conapps-cmx add-licences TENANT \
     --ammount 10 \
     --endpoint "http://localhost:8989" \
     --project conatel-cmx-dev \
     --stage staging

  $ conapps-cmx add-licences TENANT \
     --ammount 10 \
     --expiration 2019-07-06T22:59:33.870Z \
     --endpoint "http://localhost:8989" \
     --project conatel-cmx-dev \
     --stage staging

See code: src/commands/add-licences.ts

conapps-cmx create-table TABLE

Creates one DynamoDB table.

USAGE
  $ conapps-cmx create-table TABLE

ARGUMENTS
  TABLE  Table to create. One of: MerakiLocations, KnownObservations, Observations, Profiles, Locations, APs, Tenants,
         Licences

OPTIONS
  -e, --endpoint=endpoint  [default: http://localhost:8989] DynamoDB endpoint.
  -i, --interval=interval  [default: 100] Time between each DynamoDB call.
  -l, --local              [default: true] Interact with a local DynamoDB endpoint.
  -p, --project=project    [default: conatel-cmx] ConappsCMX project name.
  -s, --stage=stage        [default: development] Environment value.

EXAMPLE
  $ conapps-cmx create-table TABLE \
     --endpoint "http://localhost:8989" \
     --project conatel-cmx-dev \
     --stage staging

See code: src/commands/create-table.ts

conapps-cmx create-tables

Creates all DynamoDB tables.

USAGE
  $ conapps-cmx create-tables

OPTIONS
  -e, --endpoint=endpoint  [default: http://localhost:8989] DynamoDB endpoint.
  -i, --interval=interval  [default: 100] Time between each DynamoDB call.
  -l, --local              [default: true] Interact with a local DynamoDB endpoint.
  -p, --project=project    [default: conatel-cmx] ConappsCMX project name.
  -s, --stage=stage        [default: development] Environment value.

EXAMPLE
  $ conapps-cmx [COMMAND] \
     --endpoint "http://localhost:8989" \
     --project conatel-cmx-dev \
     --stage staging

See code: src/commands/create-tables.ts

conapps-cmx create-tenant NAME ROOTUSERNAME

Create a new tenant.

USAGE
  $ conapps-cmx create-tenant NAME ROOTUSERNAME

ARGUMENTS
  NAME          Name of the tenant to create.

  ROOTUSERNAME  Username identifier of the root account for the tenant. Must be previously created through Cognito, or
                by using the "create-user" command.

OPTIONS
  -e, --endpoint=endpoint  [default: http://localhost:8989] DynamoDB endpoint.
  -i, --interval=interval  [default: 100] Time between each DynamoDB call.
  -l, --local              [default: true] Interact with a local DynamoDB endpoint.
  -p, --project=project    [default: conatel-cmx] ConappsCMX project name.
  -s, --stage=stage        [default: development] Environment value.

EXAMPLE
  $ conapps-cmx create-tenant conatel "conatel|cjic46sth0000yqtcak2f6mgn" \
     --endpoint "http://localhost:8989" \
     --project conatel-cmx-dev \
     --stage staging

See code: src/commands/create-tenant.ts

conapps-cmx create-user ATTRIBUTES

Create a new user.

USAGE
  $ conapps-cmx create-user ATTRIBUTES

ARGUMENTS
  ATTRIBUTES  User key/value pairs, separated with a comma (",")

OPTIONS
  -p, --project=project        [default: conatel-cmx] ConappsCMX project name.
  -s, --stage=stage            [default: development] Environment value
  -u, --userPoolId=userPoolId  User Pool Id. Can be configured by setting the environment variable USER_POOL_ID

EXAMPLE
  $ conapps-cmx create-user \
    [email protected],name="Example Name",tenant=conatel,role=admin

See code: src/commands/create-user.ts

conapps-cmx delete-table TABLE

Deletes one DynamoDB table.

USAGE
  $ conapps-cmx delete-table TABLE

ARGUMENTS
  TABLE  Table to delete. One of: MerakiLocations, KnownObservations, Observations, Profiles, Locations, APs, Tenants,
         Licences

OPTIONS
  -e, --endpoint=endpoint  [default: http://localhost:8989] DynamoDB endpoint.
  -i, --interval=interval  [default: 100] Time between each DynamoDB call.
  -l, --local              [default: true] Interact with a local DynamoDB endpoint.
  -p, --project=project    [default: conatel-cmx] ConappsCMX project name.
  -s, --stage=stage        [default: development] Environment value.

EXAMPLE
  $ conapps-cmx delete-table TABLE \
     --endpoint "http://localhost:8989" \
     --project conatel-cmx-dev \
     --stage staging

See code: src/commands/delete-table.ts

conapps-cmx delete-tables

Deletes all DynamoDB tables.

USAGE
  $ conapps-cmx delete-tables

OPTIONS
  -e, --endpoint=endpoint  [default: http://localhost:8989] DynamoDB endpoint.
  -i, --interval=interval  [default: 100] Time between each DynamoDB call.
  -l, --local              [default: true] Interact with a local DynamoDB endpoint.
  -p, --project=project    [default: conatel-cmx] ConappsCMX project name.
  -s, --stage=stage        [default: development] Environment value.

EXAMPLE
  $ conapps-cmx [COMMAND] \
     --endpoint "http://localhost:8989" \
     --project conatel-cmx-dev \
     --stage staging

See code: src/commands/delete-tables.ts

conapps-cmx help [COMMAND]

display help for conapps-cmx

USAGE
  $ conapps-cmx help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

conapps-cmx list-tables

Lists all DynamoDB tables.

USAGE
  $ conapps-cmx list-tables

OPTIONS
  -e, --endpoint=endpoint  [default: http://localhost:8989] DynamoDB endpoint.
  -i, --interval=interval  [default: 100] Time between each DynamoDB call.
  -l, --local              [default: true] Interact with a local DynamoDB endpoint.
  -p, --project=project    [default: conatel-cmx] ConappsCMX project name.
  -s, --stage=stage        [default: development] Environment value.

EXAMPLE
  $ conapps-cmx [COMMAND] \
     --endpoint "http://localhost:8989" \
     --project conatel-cmx-dev \
     --stage staging

See code: src/commands/list-tables.ts

conapps-cmx seed ENTITY

Seed random data to the database.

USAGE
  $ conapps-cmx seed ENTITY

ARGUMENTS
  ENTITY  Conapps CMX entity to seed. One of: merakiLocations, knownObservations, observations, profiles, locations,
          aps, tenants, licences

OPTIONS
  -a, --ammount=ammount    Ammount of random data to seed (value depends on entity).
  -e, --endpoint=endpoint  [default: http://localhost:8989] DynamoDB endpoint.
  -i, --interval=interval  [default: 100] Time between each DynamoDB call.
  -l, --local              [default: true] Interact with a local DynamoDB endpoint.
  -p, --project=project    [default: conatel-cmx] ConappsCMX project name.
  -s, --stage=stage        [default: development] Environment value.
  -t, --tenant=tenant      [default: development] Entity tenant.
  --max=max                Max ammount of seeds to create.
  --min=min                Min ammount of seeds to create.

EXAMPLES
  $ conapps-cmx seed ENTITY \
     --endpoint "http://localhost:8989" \
     --project conatel-cmx-dev \
     --stage staging

  $ conapps-cmx seed ENTITY \
     --tenant conatel \
     --max 100 \
     --min 50 \
     --endpoint "http://localhost:8989" \
     --project conatel-cmx-dev \
     --stage staging

  $ conapps-cmx seed ENTITY \
     --tenant conatel \
     --ammount 100 \
     --endpoint "http://localhost:8989" \
     --project conatel-cmx-dev \
     --stage staging

See code: src/commands/seed.ts