@avonjs/cli
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

cli

The Avonjs command line interface.

Installation

The following commands install Avon CLI for you:

via npm:

npm install @avonjs/cli -g

via yarn:

yarn install @avonjs/cli -g

Configurations

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 typescript

possible output are 'typescript', 'ecmascript' and 'commonjs'

Commands

To see the available commands on the Avon run the following after installation

avonjs --help

Readme

Keywords

Package Sidebar

Install

npm i @avonjs/cli

Weekly Downloads

20

Version

1.1.1

License

MIT

Unpacked Size

43 kB

Total Files

55

Last publish

Collaborators

  • zareismail