Skip to content

Commit

Permalink
create: add help about cluster template
Browse files Browse the repository at this point in the history
  • Loading branch information
psergee committed Feb 27, 2024
1 parent 58f1f77 commit b8417b2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions cli/cmd/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ func NewCreateCmd() *cobra.Command {
Long: `Create an application from a template.
Built-in templates:
cartridge: a simple Cartridge application.`,
cartridge: a simple Cartridge application.
vshard_cluster: Tarantool 3 vshard cluster application.`,
Example: `
# Create an application app1 from a template.
Expand All @@ -57,7 +58,11 @@ Built-in templates:
# (cartridge_app) if it exists. ` +
`User interaction is disabled.
$ tt create cartridge --name cartridge_app -f --non-interactive --dst /opt/tt/apps/`,
$ tt create cartridge --name cartridge_app -f --non-interactive --dst /opt/tt/apps/
# Create Tarantool 3 vshard cluster.
$ tt create vshard_cluster --name cluster_app`,
}

createCmd.Flags().StringVarP(&appName, "name", "n", "", "Application name")
Expand Down

0 comments on commit b8417b2

Please sign in to comment.