karabiner-cli
[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io) [![Version](https://img.shields.io/npm/v/karabiner.svg)](https://npmjs.org/package/karabiner) [![CircleCI](https://circleci.com/gh/northone-banking/karabiner/tree/master.
Last updated 5 months ago by electblake .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install karabiner-cli 
SYNC missed versions from official npm registry.

karabiner

oclif Version CircleCI Downloads/week License

Usage

$ npm install -g karabiner-cli
$ karabiner COMMAND
running command...
$ karabiner (-v|--version|version)
karabiner-cli/1.2.0 darwin-x64 node-v8.10.0
$ karabiner --help [COMMAND]
USAGE
  $ karabiner COMMAND
...

Commands

karabiner app:init

initialize project for karabiner config management

USAGE
  $ karabiner app:init

OPTIONS
  -a, --app=app  name of app
  -f, --force
  -h, --help     show CLI help

See code: src/commands/app/init.ts

karabiner app:version

list karabiner app version

USAGE
  $ karabiner app:version

OPTIONS
  -h, --help  show CLI help

See code: src/commands/app/version.ts

karabiner autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ karabiner autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

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

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

See code: @oclif/plugin-autocomplete

karabiner env:copy

describe the command here

USAGE
  $ karabiner env:copy

OPTIONS
  -a, --app=app              (required) [default: northone-graphql] application name (ex. my-project)
  -e, --env=env              (required) [default: codepush] environment name (ex. dev|staging|prod)
  -f, --force
  -h, --help                 show CLI help
  -n, --version=version      (required) [default: 1.2.0] app version for associated param
  -o, --overwrite
  --dest-env=dest-env        (required) destination environment name
  --dest-region=dest-region  (required) [default: us-east-2] destination region

See code: src/commands/env/copy.ts

karabiner env:create

create new environment

USAGE
  $ karabiner env:create

OPTIONS
  -a, --app=app        (required) [default: northone-graphql] application name (ex. my-project)
  -h, --help           show CLI help
  -n, --name=name      environment name to create
  -r, --region=region  aws region

See code: src/commands/env/create.ts

karabiner env:delete

describe the command here

USAGE
  $ karabiner env:delete

OPTIONS
  -a, --app=app          (required) [default: northone-graphql] application name (ex. my-project)
  -e, --env=env          (required) environment name (ex. dev|staging|prod)
  -f, --force
  -h, --help             show CLI help
  -n, --version=version  app version for associated param
  -x, --extended         show extra columns
  --columns=columns      only show provided columns (comma-separated)
  --csv                  output is csv format
  --filter=filter        filter property by partial string matching, ex: name=foo
  --no-header            hide table header from output
  --no-truncate          do not truncate output to fit screen
  --sort=sort            property to sort by (prepend '-' for descending)

See code: src/commands/env/delete.ts

karabiner env:export [FILE]

export environment configuration to file, environment, etc

USAGE
  $ karabiner env:export [FILE]

OPTIONS
  -a, --app=app
      (required) [default: northone-graphql] application name (ex. my-project)

  -d, --dest=dest
      relative destination path for rendered config output

  -e, --env=env
      (required) [default: codepush] environment name (ex. dev|staging|prod)

  -f, --format=dotenv|export|yml|json
      rendered config output format

           Options:
           - "dotenv" renders as a .env file
           - "bash" prints string of "export VAR_NAME=value"
           - "yml" serverless friendly yml array
           - "json" simple json

  -h, --help
      this menu

  -n, --version=version
      (required) [default: 1.2.0] app version for associated param

  -o, --overwrite
      allow overwrite of existing config

  -r, --resolution=resolve|encrypt|decrypt
      rendered config as dynamic resolve strings, encrypted values, or decrypted values

             Options:
             - "resolve" returns string like "resolve:ssm:/project/env/param-id
             - "encrypt" returns encrypted strings
             - "decrypt" returns fully decrypted strings (BEWARE)

  -s, --save
      save settings after successful render

See code: src/commands/env/export.ts

karabiner env:import [FILE]

import (read and create at ssm) params from a file and more

USAGE
  $ karabiner env:import [FILE]

OPTIONS
  -a, --app=app
      (required) [default: northone-graphql] application name (ex. my-project)

  -e, --env=env
      (required) [default: codepush] environment name (ex. dev|staging|prod)

  -f, --force

  -f, --format=dotenv
      rendered config output format

           Options:
           - "dotenv" renders as a .env file
           - "bash" prints string of "export VAR_NAME=value"
           - "yml" serverless friendly yml array
           - "json" simple json

  -h, --help
      show CLI help

  -n, --version=version
      (required) [default: 1.2.0] app version for associated param

See code: src/commands/env/import.ts

karabiner env:list

describe the command here

USAGE
  $ karabiner env:list

OPTIONS
  -a, --app=app      (required) [default: northone-graphql] application name (ex. my-project)
  -h, --help         show CLI help
  -x, --extended     show extra columns
  --columns=columns  only show provided columns (comma-separated)
  --csv              output is csv format
  --filter=filter    filter property by partial string matching, ex: name=foo
  --no-header        hide table header from output
  --no-truncate      do not truncate output to fit screen
  --sort=sort        property to sort by (prepend '-' for descending)

See code: src/commands/env/list.ts

karabiner help [COMMAND]

display help for karabiner

USAGE
  $ karabiner help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

karabiner param:copy [FILE]

TODO

USAGE
  $ karabiner param:copy [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -p, --from=from  (required) param name
  -t, --to=to      param name to copy into

See code: src/commands/param/copy.ts

karabiner param:create

create new param for app

USAGE
  $ karabiner param:create

OPTIONS
  -a, --app=app                  (required) [default: northone-graphql] application name (ex. my-project)
  -e, --env=env                  (required) [default: codepush] environment name (ex. dev|staging|prod)
  -n, --version=version          (required) [default: 1.2.0] app version for associated param
  -p, --param-name=param-name    (required) param name
  -r, --region=region            aws region
  -v, --param-value=param-value  (required) parameter value

See code: src/commands/param/create.ts

karabiner param:delete

delete a parameter from config for an app

USAGE
  $ karabiner param:delete

OPTIONS
  -a, --app=app                (required) [default: northone-graphql] application name (ex. my-project)
  -e, --env=env                (required) [default: codepush] environment name (ex. dev|staging|prod)
  -l, --all                    delete all versions
  -n, --version=version        (required) [default: 1.2.0] app version for associated param
  -p, --param-name=param-name  (required) param name

See code: src/commands/param/delete.ts

karabiner param:list

list parameters as config for an app

USAGE
  $ karabiner param:list

OPTIONS
  -a, --app=app          (required) [default: northone-graphql] application name (ex. my-project)
  -e, --env=env          (required) [default: codepush] environment name (ex. dev|staging|prod)
  -h, --help             show CLI help
  -l, --all              show all versions of params
  -n, --version=version  (required) [default: 1.2.0] app version for associated param
  -w, --raw              raw aws result
  -x, --extended         show extra columns
  --columns=columns      only show provided columns (comma-separated)
  --filter=filter        filter property by partial string matching, ex: name=foo
  --no-header            hide table header from output
  --no-truncate          do not truncate output to fit screen
  --sort=sort            [default: name] property to sort by (prepend '-' for descending)

See code: src/commands/param/list.ts

karabiner update [CHANNEL]

update the karabiner CLI

USAGE
  $ karabiner update [CHANNEL]

See code: @oclif/plugin-update

Uninstall

rm -rf /usr/local/karabiner /usr/local/lib/karabiner /usr/local/bin/karabiner ~/.local/share/karabiner ~/Library/Caches/karabiner

Current Tags

  • 1.2.0                                ...           latest (5 months ago)

1 Versions

  • 1.2.0                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (21)
Dev Dependencies (24)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |