0.2.0 • Published 9 months ago

@achtjs/cli v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@achtjs/cli

The AchtJS CLI is a command line interface for AchtJS. Its primary purpose is to assist developers with building AchtJS projects. AchtJS CLI allows you to generate and serving AchtJS project as well as generate AchtJS files (e.g. controllers, services and models).

Table of Contents

Installation

In order to start using AchtJS CLI you need to install it globally.

npm install -g @achtjs/cli

NEW

new | n

Create a new AchtJS project. This will generate all the basic files and install all the necessary dependencies for your AchtJS Project.

Usage

acht new my-new-app or acht n my-new-app

GENERATE

generate | g

This will help you generate components inside your AchtJS project. You can generate controllers, sevices and models using this command.

Usage

ROUTES

acht generate route sample or acht g r sample

CONTROLLER

acht generate controller sample or acht g c sample

SERVICE

acht generate service sample or acht g s sample

MODEL

acht generate model sample or acht g m sample

SERVE

serve | s options

This will run your AchtJS project which listens on port 3333 by default. In case where port 3333 is already in use or you want to run it on a different port number, use --port to specify a different port.

Usage

DEFAULT

acht serve or acht s

CHANGE PORT

acht serve --port 4444 or acht s -p 4444

BUILD

build | b

This will build your AchtJS project to javascript that you can deploy to your prefered cloud hosting. The output files will be inside the dist folder.

Usage

DEFAULT

acht build or acht b

0.2.0

9 months ago

0.1.9

9 months ago

0.1.8

9 months ago

0.1.7

9 months ago

0.1.6

9 months ago

0.1.5

9 months ago

0.1.4

9 months ago

0.1.3

9 months ago

0.1.2

9 months ago