Skip to content

Latest commit

History

History
34 lines (19 loc) 路 664 Bytes

application.md

File metadata and controls

34 lines (19 loc) 路 664 Bytes

@nx-go/nx-go:application

Creates a Go application.

Examples

Create an application named api:

nx g @nx-go/nx-go:application api

Options

name (required)

  • (string): The name of the application

directory

  • (string): The directory of the new application

projectNameAndRootFormat

  • (string): Whether to generate the project name and root directory as provided (as-provided) or generate them composing their values and taking the configured layout into account (derived)
  • accepted values: as-provided, derived

tags

  • (string): Add tags to the application

skipFormat

  • (boolean): Skip formatting files