Skip to content

Refine the help message of create-app create-plugin create-profile #958

@rainboyan

Description

@rainboyan
$ grace create-app -h
Usage:
  grace create-app [NAME] [options]

Options:
  -p, [--package-name=PACKAGE NAME]           # The Package name, for example 'com.example'
      [--profile=PROFILE]                     # The profile to use: web, rest-api, starter, default: web
      [--features=FEATURES]                   # The features provided by the profile to use
                                              # You can use profile-info [PROFILE] to show all the features of the profile
  -m, [--template=TEMPLATE]                   # Path to some application template (can be a filesystem path or URL)
                                              # For example: https://github.com/grace-templates/helloworld.git
      [--minimal]                             # Used to create a minimal application
  -c, [--css=CSS]                             # The CSS framework to use
  -j, [--javascript=JAVASCRIPT]               # The JavaScript approach
  -d, [--database=DATABASE]                   # The Database type: h2, mysql, mariadb, postgresql, sqlserver, default: h2
      [--grace-version=GRACE VERSION]         # Specific Grace Version
      [--boot-version=BOOT VERSION]           # Specific Spring Boot Version
  -h, [--help]                                # Show the help message and quit
      [--stacktrace]                          # Show full stacktrace
      [--verbose]                             # Show verbose output
  -q, [--quiet]                               # Suppress status output
      [--enable-preview]                      # Enable preview features
  -f, [--force]                               # Force overwrite of existing files
      [--inplace]                             # Used to create an application in the current directory


Examples:

    # Creates an application
        $ grace create-app com.example.blog
        $ grace create-app blog --package-name=com.example --profile=web
        $ grace create-app blog --boot-version=3.4.0

Metadata

Metadata

Assignees

Labels

Type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions