(Quick Reference)

4 Profile Info

Version: 2023.3.0

4 Profile Info

You can always get information about the provided command and available features executing grace profile-info web

You will see an output similar to:

Profile: web
Version: 2023.3.0
Extends: base
Description: Profile for Web applications

Provided Commands:
----------------------------------------------------------------------------------------------------
Name                           Description
----------------------------------------------------------------------------------------------------
about                          About your application's environment
assemble                       Creates a JAR or WAR archive for production deployment
bug-report                     Creates a zip file that can be attached to issue reports for the current project [deprecated]
clean                          Cleans a Grace application's compiled sources
compile                        Compiles a Grace application
console                        Runs the Grace interactive console
create-command                 Creates an Application Command
create-controller              Creates a Controller
create-domain-class            Creates a Domain Class
create-integration-test        Creates an Integration Test
create-interceptor             Creates an Interceptor
create-plugin                  Creates a Dynamic Plugin
create-script                  Creates a Groovy Script
create-service                 Creates a Service
create-taglib                  Creates a Tag Library
create-unit-test               Creates a Unit Test
dependency-report              Prints out the Grace application's dependencies [deprecated]
package                        Packages a Grace application
run-app                        Runs a Grace application
run-command                    Executes Grace commands
run-script                     Executes Groovy scripts in a Grace context
shell                          Runs the Grace interactive shell
stats                          Prints statistics about the project
stop-app                       Stops the running Grace application
test-app                       Runs the applications tests

Provided Features:
----------------------------------------------------------------------------------------------------
Name                           Required  Defaults  Description
----------------------------------------------------------------------------------------------------
asset-pipeline                             +       Adds support for the Asset Pipeline to the Grace project
async                                      +       Adds support for the Grace Async
bootstrap                                  +       Adds Bootstrap CSS and Icons
cache                                      +       Adds support for the Grace Cache abstraction
database-migration                         +       Adds support for Grace Database Migration Plugin
events                                     +       Adds support for the Grace EventBus abstraction
fields                                     +       Adds custom Fields templates support Bootstrap
geb                                        +       Adds Geb 7, Selenium WebDriver 4.x to run functional tests
gsp                                        +       Adds support for GSP to the project
hibernate                                  +       Adds GORM for Hibernate to the project
jquery                                     +       Adds jQuery javascript files
json-views                                         Adds support for JSON Views to the project
markup-views                                       Adds support for Markup Views to the project
mongodb                                            Adds GORM for MonogoDB to the project
popper                                             Adds Popper javascript files
scaffolding                                +       Add support for the Grace Scaffolding

The above list includes all the commands and features from it’s parent profile.

But if you want only show it’s own commands and features, you can execute grace profile-info web --only. You will see that web profile extends base profile, and it provides some more commands and features below:

Profile: web
Version: 2023.3.0
Extends: base
Description: Profile for Web applications

Provided Commands:
----------------------------------------------------------------------------------------------------
Name                           Description
----------------------------------------------------------------------------------------------------
create-controller              Creates a Controller
create-integration-test        Creates an Integration Test
create-interceptor             Creates an Interceptor
create-service                 Creates a Service
create-taglib                  Creates a Tag Library

Provided Features:
----------------------------------------------------------------------------------------------------
Name                           Required  Defaults  Description
----------------------------------------------------------------------------------------------------
bootstrap                                  +       Adds Bootstrap CSS and Icons
fields                                     +       Adds custom Fields templates support Bootstrap
jquery                                     +       Adds jQuery javascript files
popper                                             Adds Popper javascript files
scaffolding                                +       Add support for the Grace Scaffolding