1.0.1 • Published 4 years ago

acf-cli v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

tsf-cli-node

Prerequisites

You will need to have install :

Installation

Using npm

$ npm i -g acf-cli

Quick Start

You can easily start to use ACF CLI by typing something like this:

$ acf

It will appear a menu with some actions in order to start to scaffold your project. If you keep reading you will learn about the different choices.

New Project

From ACF CLI we let you create the followings type of projects:

  • Spring Boot
  • Web Application
  • Microservice infrastructure
  • Microservice application

Run the following command for creating a spring boot project:

$ acf boot

Run the following command for creating a web application project:

$ acf web

Run the following command for creating a microservice infrastructure project:

$ acf micros-infrastructure

Run the following command for creating a microservice application project:

$ acf micros-application

The CLI application will ask the following questions:

  • Project Name( by default : new-application) - The name of the application.
  • Group Id( by default : com.mycompany) - This will be used as the base package of the application.
  • Terasoluna Version - The version of TSF+ you want to use( each version has different features available, see more information in TSF+).
  • Version ( by default : 1.0.0-SNAPSHOT) - Version of your project.
  • App. shorth ID( by default : application) - The application name will be used as the artifactId for the top-level POM.

New Module

From ACF CLI we let you create the followings type of modules:

  • Web nature: The web nature denotes a web boundary defined as MVC controllers, REST API, web services, etc
  • Common nature: The common nature serves for the purpose of creating lightweight business module interfaces. This interfaces can be shared between business modules, projects or even to 3rd parties. This nature can also be used to create utility projects.
  • Core nature: A core project will have, out-of-the-box, an already set up extensible Spring context over the principle of convention over configuration. A core project can start using some usual features, such as logging or environment-aware property management, out-of-the-box. In essence, a core project only has to care about adding its own beans.

Run the following command for creating a new module:

$ acf module

Run the following command for creating a web module:

$ acf web-module

Run the following command for creating a common module:

$ acf common-module

Run the following command for creating a core module:

$ acf core-module

At the end in each command ,the CLI application will ask you the name of the module(By default: "module").

Add Feature

Run the following command for adding new feature to the module:

$ acf feature

if you want to check the features included in each versions you can go: