# acf-cli

> You will need to have install : * **NPM** ( [npm-install] ) * **Java** ( [java-install] )

Latest version **1.0.1** (published 2020-03-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install acf-cli
pnpm add acf-cli
yarn add acf-cli
bun add acf-cli
```

Provides the command `acf`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; large bundle.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2020-03-04 |
| First published | 2020-03-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 9.6 MB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Maintainers | tsfplus |

## Links

- npm: https://www.npmjs.com/package/acf-cli
- npm.io page: https://npm.io/package/acf-cli

## Dependencies (5)

- [chalk](https://npm.io/package/chalk.md) ^2.4.2
- [maven](https://npm.io/package/maven.md) ^4.5.0
- [figlet](https://npm.io/package/figlet.md) ^1.2.3
- [inquirer](https://npm.io/package/inquirer.md) ^6.4.1
- [recursive-copy](https://npm.io/package/recursive-copy.md) ^2.0.10

## Recent versions

- 1.0.1 (latest) — 2020-03-04
- 1.0.0 — 2020-03-04

## README

# tsf-cli-node


## Prerequisites

You will need to have install :
* **NPM** ( [npm-install] )
* **Java** ( [java-install] )

## Installation
Using npm
```shell
$ npm i -g acf-cli
```

## Quick Start

You can easily start to use ACF CLI by typing something like this:

```shell
$ 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:
```shell
$ acf boot
```
Run the following command for creating a web application project:
```shell
$ acf web
```
Run the following command for creating a microservice infrastructure project:
```shell
$ acf micros-infrastructure
```
Run the following command for creating a microservice application project:
```shell
$ 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:
```shell
$ acf module
```
Run the following command for creating a web module:
```shell
$ acf web-module
```
Run the following command for creating a common module:
```shell
$ acf common-module
```
Run the following command for creating a core module:
```shell
$ 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:
```shell
$ acf feature
```

if you want to check the features included in each versions you can go:

* [2.0.0.RELEASE]
* [1.5.0.RELEASE]
* [1.4.0.RELEASE]
* [1.3.0.RELEASE]
* [1.2.0.RELEASE]
* [1.1.0.RELEASE]
* [1.0.0.RELEASE]

   [npm-url]: https://www.npmjs.com/package/acf-plugin
   [npm-install]: https://www.npmjs.com/get-npm
   [java-install]: https://www.java.com/en/download/
   [TSF+]: https://terasoluna.everis.com/docs/current/TSFplus%20Reference%20Documentation.html#_changelog
   [2.0.0.RELEASE]: https://terasoluna.everis.com/dev/TSFplus%20Reference%20Documentation.html#_3rd_party_frameworks_and_libraries
   [1.5.0.RELEASE]: https://terasoluna.everis.com/docs/1.5.0.RELEASE/TSFplus%20Reference%20Documentation.html#_3rd_party_frameworks_and_libraries
   [1.4.0.RELEASE]: https://terasoluna.everis.com/docs/1.4.0.RELEASE/TSFplus%20Reference%20Documentation.html#_3rd_party_frameworks_and_libraries
   [1.3.0.RELEASE]: https://terasoluna.everis.com/docs/1.3.0.RELEASE/TSFplus%20Reference%20Documentation.html#_3rd_party_frameworks_and_libraries
   [1.2.0.RELEASE]: https://terasoluna.everis.com/docs/1.2.0.RELEASE/TSFplus%20Reference%20Documentation.html#_3rd_party_frameworks_and_libraries
   [1.1.0.RELEASE]: https://terasoluna.everis.com/docs/1.1.0.RELEASE/TSFplus%20Reference%20Documentation.html#_3rd_party_frameworks_and_libraries
   [1.0.0.RELEASE]: https://terasoluna.everis.com/docs/1.0.0.RELEASE/TSFplus%20Reference%20Documentation.html#_3rd_party_frameworks_and_libraries

---
_Source: https://npm.io/package/acf-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
