Class: AvenxCLI

AvenxCLI()

Avenx CLI - Command Line Interface for Avenx-JS.

Constructor

new AvenxCLI()

Source:

Methods

buildProject()

Runs the compiler build.

Source:

generateBridge()

Generates a new Bridge class and template file.

Source:

generateComponent()

Generates a new component folder and template files, and registers it in main.app.js.

Source:

generateGuard()

Generates a new Guard class and template file.

Source:

generatePage()

Generates a new Page class and template files.

Source:

initProject()

Initializes a new Avenx project structure.

Source:

openBrowser()

Opens the browser to the specified URL.

Source:

registerInMainApp()

Automatically adds import and registration for a component in src/main.app.js.

Source:

serveProject()

Starts a local development server and watches for changes.

Source:

watchProject()

Watches the src directory for changes and triggers a rebuild.

Source: