Skip to main content

defang new

Create a new Defang project from a sample

defang new [SAMPLE] [flags]

Options

  -h, --help   help for new

Options inherited from parent commands

      --color color-mode      colorize output; one of [never auto always] (default auto)
-C, --cwd string change directory before running the command
--debug debug logging for troubleshooting the CLI
--dry-run dry run (don't actually change anything)
-f, --file stringArray compose file path
-T, --non-interactive disable interactive prompts / no TTY (default true)
--org string Override GitHub organization name (tenant)
-p, --project-name string project name
-P, --provider provider bring-your-own-cloud provider; one of [defang aws digitalocean gcp] (default auto)
-v, --verbose verbose logging

SEE ALSO

  • defang - Defang CLI is used to develop, deploy, and debug your cloud services
Auto generated by spf13/cobra on 20-Dec-2024