Skip to main content

init

init - Initialize a new Blaze workspace.

Description​

This command will create Blaze configuration files in a new workspace and initialize git if not already initialized. Here is the details of what is generated :

  • A workspace configuration file
  • A global variables file
  • A user variables files
  • .gitignore entries
  • An example project

Synopsis​

init [-c / --create-directory ] [-f / --format <FORMAT>] [-g / --no-git-init ] [-n / --name <NAME>]

Options​

  • [-c / --create-directory ] : Create the workspace root directory if it does not exist. It will recursively create parent directories when needed.
  • [-f / --format <FORMAT>] : Generate configuration files using the specified format.
  • [-g / --no-git-init ] : Do not initialize git if not already initialized. By default, the init command will initialize a new git repository if it does not already exist, this flag will disable this behavior.
  • [-n / --name <NAME>] : Specify name of the workspace, defaults to the workspace root directory name.

Arguments​

No positional arguments for this command.

Subcommands​

No subcommands for this command.