@avonjs/cli
v1.1.1
Published
The Avonjs command line interface.
Readme
cli
The Avonjs command line interface.
Installation
The following commands install Avon CLI for you:
via npm:
npm install @avonjs/cli -gvia yarn:
yarn install @avonjs/cli -gConfigurations
By default, Avon put files generated by Avon cli under src directory. to change this path you could configure it by root package.json file:
{
...
"sourceDir" : "myDir"
}Also, Avon detects the type of package by checking the tsconfig.json existence or module type indicated on the package json but you could determine the output file per command:
avonjs make:resource Another --output typescriptpossible output are 'typescript', 'ecmascript' and 'commonjs'
Commands
To see the available commands on the Avon run the following after installation
avonjs --help