Help and Info

General usage information can be viewed using the help flag on a command.

  1. mn> create-app -h
  2. Usage: mn create-app [-hivVx] [--list-features] [-b=BUILD-TOOL] [--jdk=<javaVersion>] [-l=LANG]
  3. [-t=TEST] [-f=FEATURE[,FEATURE...]]... [NAME]
  4. Creates an application
  5. [NAME] The name of the application to create.
  6. -b, --build=BUILD-TOOL Which build tool to configure. Possible values: gradle, maven.
  7. -f, --features=FEATURE[,FEATURE...]
  8. -h, --help Show this help message and exit.
  9. -i, --inplace Create a service using the current directory
  10. --jdk, --java-version=<javaVersion>
  11. The JDK version the project should target
  12. -l, --lang=LANG Which language to use. Possible values: java, groovy, kotlin.
  13. --list-features Output the available features and their descriptions
  14. -t, --test=TEST Which test framework to use. Possible values: junit, spock, kotlintest.

A list of available features can be viewed using the --list-features flag on any of the create commands.

  1. mn> create-app --list-features
  2. Available Features
  3. (+) denotes the feature is included by default
  4. Name Description
  5. ------------------------------- ---------------
  6. Cache
  7. cache-caffeine Adds support for cache using Caffeine (https://github.com/ben-manes/caffeine)
  8. cache-ehcache Adds support for cache using EHCache (https://www.ehcache.org/)
  9. cache-hazelcast Adds support for cache using Hazelcast (https://hazelcast.org/)
  10. cache-infinispan Adds support for cache using Infinispan (https://infinispan.org/)