ME-dynamics / aba-cli

automate boring stuff in node js
0 stars 0 forks source link
aba aba-cli nca node-js

aba-cli

automate boring stuff in node js, react and react native

oclif Version Codecov Downloads/week License

aba add PACKAGENAME

adds packages to your project

USAGE
  $ aba add PACKAGENAME

ARGUMENTS
  PACKAGENAME  names of npm package you want to add to your nca project

OPTIONS
  -D, --dev          will save package info in development section
  -a, --adapter      will save package info in adapter section
  -c, --controllers  will save package info in controllers section
  -e, --entity       will save package info in entities section
  -g, --global       will save package info in global (global to current package) section
  -i, --interface    will save package info in interface section
  -n, --nodelib      will save package for node library
  -u, --usecase      will save package info in usecase section

EXAMPLES
  $ aba add -e entityPackage
  $ aba add -a adapterPackage
  $ aba add -u usecasePackage
  $ aba add -c controllerPackage
  $ aba add -i interfacePackage
  $ aba add -g globalPackage
  $ aba add -n nodelibPackage
  $ aba add -D devPackage

See code: src/commands/add.ts

aba audit

USAGE
  $ aba audit

OPTIONS
  -g, --groups=groups  Applying the groups flag will limit the audit table to vulnerabilities of the corresponding
                       dependency groups (e.g dependencies,devDependencies)

  -j, --json           Shows dependencies vulnerabilities in JSON format

  -l, --level=level    [default: info] shows vulnerabilities impact level, low, medium, high etc.

  -v, --verbose        Shows dependencies vulnerabilities in JSON format as well as response data

See code: src/commands/audit.ts

aba autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ aba autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ aba autocomplete
  $ aba autocomplete bash
  $ aba autocomplete zsh
  $ aba autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

aba create MODE NAME

creates node js clean architecture, nca layers, node libraries and react + react native project

USAGE
  $ aba create MODE NAME

ARGUMENTS
  MODE  (service|nodelib|rrn|entity|usecase|adapter|schema) create NCA, RRN, node library or create NCA layers
  NAME  the package / layer name you want to create

EXAMPLES
  $ aba create service serviceName
  $ aba create nodelib libName
  $ aba create rrn rrnName
  $ aba create entity entityName
  $ aba create usecase usecaseName
  $ aba create adapter adapterName
  $ aba create schema schemaName

See code: src/commands/create.ts

aba help [COMMAND]

display help for aba

USAGE
  $ aba help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

aba remove PACKAGENAME

remove package from your nca project

USAGE
  $ aba remove PACKAGENAME

ARGUMENTS
  PACKAGENAME  name of npm module you want to remove from your nca / nodelib / rrn project

EXAMPLE
  $ aba remove packageName

See code: src/commands/remove.ts