ngx-bind-io-cli
v0.3.2
Published
Tools for check Angular7+ components for use ngx-bind-io directives
Downloads
8
Maintainers
Readme
ngx-bind-io-cli
Tools for check Angular7+ components for use ngx-bind-io directives
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