@appknobs/cli
CLI interface for Appknobs.io
Last updated a year ago by thekarel .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @appknobs/cli 
SYNC missed versions from official npm registry.

APPKNOBS CLI

CLI interface for Appknobs.io

Hint: the CLI comes with two aliases: knobs and appknobs

Usage

npm i -g @appknobs/cli

$ knobs --help

  █████╗  ██████╗  ██████╗  ██╗  ██╗ ███╗   ██╗  ██████╗  ██████╗  ███████╗
 ██╔══██╗ ██╔══██╗ ██╔══██╗ ██║ ██╔╝ ████╗  ██║ ██╔═══██╗ ██╔══██╗ ██╔════╝
 ███████║ ██████╔╝ ██████╔╝ █████╔╝  ██╔██╗ ██║ ██║   ██║ ██████╔╝ ███████╗
 ██╔══██║ ██╔═══╝  ██╔═══╝  ██╔═██╗  ██║╚██╗██║ ██║   ██║ ██╔══██╗ ╚════██║
 ██║  ██║ ██║      ██║      ██║  ██╗ ██║ ╚████║ ╚██████╔╝ ██████╔╝ ███████║
 ╚═╝  ╚═╝ ╚═╝      ╚═╝      ╚═╝  ╚═╝ ╚═╝  ╚═══╝  ╚═════╝  ╚═════╝  ╚══════╝



  Usage: knobs [options] [command]

  Options:

    -V, --version                output the version number
    -h, --help                   output usage information

  Commands:

    parse [options] <path>       Find & upload feature flags from your project
    app-info                     Retrieve app name and appID
    app-remove [options]         Deletes the current app and all associated records from Appknobs
    apikey                       Retrieve your API key
    console                      Open Appknobs web console at console.appknobs.io
    register [email] [password]  Register on appknobs.io using your email address and password
    login [email] [password]     Log in to the service
    logout                       Log out from the service
    user                         Show current user

$ appknobs parse

Find & upload feature flags from your project. Will auto-guess the framework type if not specified.

Options:
  -t --type <framework>  Specify the framework type: "angular" or "react"
  -h, --help             output usage information

Auto feature-discovery by appknobs parse is supported in Angular and React. In Angular only .html files are considered at the moment.

You can run the command multiple times, flags are recorded only once.

About project types: usually, the framework/library is correctly guessed, so you don't need to specify anything. Pass --type Angular if your flags are not found as the default/fallback is React.

Examples

To find flags in ./src in your React app:

$ appknobs parse src/

To discover flags in an Angular app the same command works just fine:

$ appknobs parse src/

In case you're file names don't follow the Angular convention try

$ appknobs parse src/ --type angular

Note: the authentication cache is stored in YOUR_HOME_DIR/.appknobs/congito.json.

Current Tags

  • 0.7.0                                ...           latest (a year ago)

37 Versions

  • 0.7.0                                ...           a year ago
  • 0.6.1                                ...           a year ago
  • 0.6.0                                ...           a year ago
  • 0.5.0                                ...           a year ago
  • 0.4.7                                ...           a year ago
  • 0.4.6                                ...           a year ago
  • 0.4.0                                ...           a year ago
  • 0.3.0                                ...           a year ago
  • 0.2.0                                ...           a year ago
  • 0.1.24-alpha.0                                ...           a year ago
  • 0.1.23-alpha.0                                ...           a year ago
  • 0.1.22-alpha.0                                ...           a year ago
  • 0.1.21-alpha.0                                ...           a year ago
  • 0.1.20-alpha.0                                ...           a year ago
  • 0.1.19-alpha.0                                ...           a year ago
  • 0.1.18-alpha.0                                ...           a year ago
  • 0.1.17-alpha.0                                ...           a year ago
  • 0.1.16-alpha.0                                ...           a year ago
  • 0.1.15-alpha.0                                ...           a year ago
  • 0.1.14-alpha.0                                ...           a year ago
  • 0.1.13-alpha.0                                ...           a year ago
  • 0.1.12-alpha.0                                ...           a year ago
  • 0.1.11-alpha.0                                ...           a year ago
  • 0.1.10-alpha.0                                ...           a year ago
  • 0.1.9-alpha.0                                ...           a year ago
  • 0.1.8-alpha.0                                ...           a year ago
  • 0.1.7-alpha.0                                ...           a year ago
  • 0.1.6-alpha.0                                ...           a year ago
  • 0.1.5-alpha.0                                ...           a year ago
  • 0.1.4-alpha.0                                ...           a year ago
  • 0.1.3-alpha.0                                ...           a year ago
  • 0.1.2-alpha.0                                ...           a year ago
  • 0.1.1-alpha.0                                ...           a year ago
  • 0.1.0-alpha.0                                ...           2 years ago
  • 0.0.14                                ...           2 years ago
  • 0.0.13                                ...           2 years ago
  • 0.0.10                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 37
Last Month 75
Dependencies (13)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |