ngx-bind-io-cli
Tools for check Angular7+ components for use ngx-bind-io directives
Last updated 3 months ago by endykaufman .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ngx-bind-io-cli 
SYNC missed versions from official npm registry.

ngx-bind-io-cli

Tools for check Angular7+ components for use ngx-bind-io directives

oclif Version CircleCI Appveyor CI Codecov Downloads/week License

Example use ngx-bind-io directives

Without auto binding inputs and outputs

<component-name
    (start)="onStart()"
    [isLoading]="isLoading$ | async"
    [propA]="propA"
    [propB]="propB">
</component-name>

With auto binding inputs and outputs

<component-name
    [bindIO]>
</component-name>

Usage

Simple

$ npx ngx-bind-io-cli ./src

With detect all component and ignore count of inputs or outputs

$ npx ngx-bind-io-cli ./src --maxInputs=0 --maxOutputs=0

With correct work with tspaths

$ npx ngx-bind-io-cli ./src --maxInputs=0 --maxOutputs=0 --tsconfig=./src/tsconfig.app.json

Commands

ngx-bind-io-cli [PATH]

USAGE
  $ ngx-bind-io-cli [PATH]

OPTIONS
  -c, --tsconfig=tsconfig  Please set if you use tspaths for correct scan
                           base components

  -f, --fix=(used|all)     Auto initialized all not initialized inputs

  -h, --help               show CLI help

  -i, --info               Show inputs and outputs used in components

  -q, --quoteDouble        Double quote type used for string literals

  -v, --version            show CLI version

  --ignores=ignores        Ignored files and paths

  --maxInputs=maxInputs    [default: 3] Max count of inputs for detect need
                           use NgxBindIO directives

  --maxOutputs=maxOutputs  [default: 3] Max count of outputs for detect need
                           use NgxBindIO directives

  --verbose                Show all detail informations for inputs and
                           outputs used in components

Current Tags

  • 0.3.2                                ...           latest (3 months ago)

6 Versions

  • 0.3.2                                ...           3 months ago
  • 0.3.1                                ...           3 months ago
  • 0.3.0                                ...           3 months ago
  • 0.2.0                                ...           3 months ago
  • 0.1.1                                ...           3 months ago
  • 0.1.0                                ...           3 months ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 7
Last Day 0
Last Week 0
Last Month 6
Dependencies (10)
Dev Dependencies (16)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |