================ CODE SNIPPETS ================ TITLE: Install Shopware 6 via Mittwald CLI DESCRIPTION: Creates a new Shopware 6 installation using the Mittwald CLI. This command supports numerous flags to configure project details, administrator credentials, host settings, and installation preferences. It allows for detailed customization of the Shopware 6 setup process. SOURCE: https://github.com/mittwald/cli/blob/v1.6.0/docs/app.md#_snippet_17 LANGUAGE: APIDOC CODE: ``` mw app install shopware6 Creates new Shopware 6 installation. USAGE $ mw app install shopware6 --version [--token ] [-p ] [-q] [--host ] [--admin-user ] [--admin-email ] [--admin-pass ] [--admin-firstname ] [--admin-lastname ] [--site-title ] [--shop-email ] [--shop-lang ] [--shop-currency ] [-w] [--wait-timeout ] FLAGS -p, --project-id= ID or short ID of a project; this flag is optional if a default project is set in the context. May contain a short ID or a full ID of a project; you can also use the "mw context set --project-id=" command to persistently set a default project for all commands that accept this flag. -q, --quiet suppress process output and only display a machine-readable summary. This flag controls if you want to see the process output or only a summary. When using mw non-interactively (e.g. in scripts), you can use this flag to easily get the IDs of created resources for further processing. -w, --wait wait for the resource to be ready. [default: false] --admin-email= email address of your administrator user. email address that will be used for the first administrator user that is created during the Shopware 6 installation. If unspecified, email address of your mStudio account will be used. This email address can be changed after the installation is finished. --admin-firstname= first name of your administrator user. The first name that will be used for the first administrator user that is created during the Shopware 6 installation. If unspecified, the first name of your mStudio user will be used. This value can be changed after the installation is finished. --admin-lastname= Lastname of your administrator user. The last name that will be used for the first administrator user that is created during the Shopware 6 installation. If unspecified, the last name of your mStudio user will be used. This value can be changed after the installation is finished. --admin-pass= password of your administrator user. The password that will be used for the first administrator user that is created during the Shopware 6 installation. If unspecified, a random secure password will be generated and printed to stdout. This password can be changed after the installation is finished --admin-user= Username for your administrator user. Username of the first administrator user which will be created during the Shopware 6 installation. If unspecified, an adequate username will be generated. After the installation is finished, the username can be changed and additional administrator users can be created. --host= host to initially configure your Shopware 6 installation with; needs to be created separately. Specify a host which will be used during the installation and as an initial host for the Shopware 6 configuration. If unspecified, the default host for the given project will be used. This does not change the target of the used host and can be changed later by configuring the host and your Shopware 6 installation. --shop-currency= Currency your Shopware 6 will be working with. --shop-email= email address your Shopware 6 will be working with. --shop-lang= language your Shopware 6 will be working with. --site-title= site title for your Shopware 6 installation. --version= (required) [default: latest] version of Shopware 6 to be installed. --wait-timeout= [default: 600s] the duration to wait for the resource to be ready (common units like 'ms', 's', 'm' are accepted). AUTHENTICATION FLAGS --token= API token to use for authentication (overrides environment and config file). NOTE: watch out that tokens passed via this flag might be logged in your shell history. DESCRIPTION Creates new Shopware 6 installation. FLAG DESCRIPTIONS -p, --project-id= ID or short ID of a project; this flag is optional if a default project is set in the context May contain a short ID or a full ID of a project; you can also use the "mw context set --project-id=" command to persistently set a default project for all commands that accept this flag. -q, --quiet suppress process output and only display a machine-readable summary This flag controls if you want to see the process output or only a summary. When using mw non-interactively (e.g. in scripts), you can use this flag to easily get the IDs of created resources for further processing. --admin-email= email address of your administrator user. email address that will be used for the first administrator user that is created during the Shopware 6 installation. If unspecified, email address of your mStudio account will be used. This email address can be changed after the installation is finished. --admin-firstname= first name of your administrator user. The first name that will be used for the first administrator user that is created during the Shopware 6 installation. If unspecified, the first name of your mStudio user will be used. This value can be changed after the installation is finished. --admin-lastname= Lastname of your administrator user. The last name that will be used for the first administrator user that is created during the Shopware 6 installation. If unspecified, the last name of your mStudio user will be used. This value can be changed after the installation is finished. --admin-pass= password of your administrator user. The password that will be used for the first administrator user that is created during the Shopware 6 installation. If unspecified, a random secure password will be generated and printed to stdout. This password can be changed after the installation is finished --admin-user= Username for your administrator user. Username of the first administrator user which will be created during the Shopware 6 installation. If unspecified, an adequate username will be generated. After the installation is finished, the username can be changed and additional administrator users can be created. --host= host to initially configure your Shopware 6 installation with; needs to be created separately. Specify a host which will be used during the installation and as an initial host for the Shopware 6 configuration. If unspecified, the default host for the given project will be used. This does not change the target of the used host and can be changed later by configuring the host and your Shopware 6 installation. ``` -------------------------------- TITLE: Install Shopware 5 DESCRIPTION: Creates a new Shopware 5 installation via the Mittwald CLI. It supports various flags for configuring the installation, including version, admin user details, host, and site settings. Optional flags control output verbosity and waiting behavior. SOURCE: https://github.com/mittwald/cli/blob/v1.6.0/docs/app.md#_snippet_15 LANGUAGE: APIDOC CODE: ``` mw app install shopware5 Creates new Shopware 5 installation. USAGE $ mw app install shopware5 --version [--token ] [-p ] [-q] [--host ] [--admin-user ] [--admin-email ] [--admin-pass ] [--admin-firstname ] [--admin-lastname ] [--site-title ] [--shop-email ] [--shop-lang ] [--shop-currency ] [-w] [--wait-timeout ] FLAGS -p, --project-id= ID or short ID of a project; this flag is optional if a default project is set in the context -q, --quiet suppress process output and only display a machine-readable summary -w, --wait wait for the resource to be ready. --admin-email= email address of your administrator user. --admin-firstname= first name of your administrator user. --admin-lastname= Lastname of your administrator user. --admin-pass= password of your administrator user. --admin-user= Username for your administrator user. --host= host to initially configure your Shopware 5 installation with; needs to be created separately. --shop-currency= Currency your Shopware 5 will be working with. --shop-email= email address your Shopware 5 will be working with. --shop-lang= language your Shopware 5 will be working with. --site-title= site title for your Shopware 5 installation. --version= (required) [default: latest] version of Shopware 5 to be installed. --wait-timeout= [default: 600s] the duration to wait for the resource to be ready (common units like 'ms', 's', 'm' are accepted). AUTHENTICATION FLAGS --token= API token to use for authentication (overrides environment and config file). NOTE: watch out that tokens passed via this flag might be logged in your shell history. DESCRIPTION Creates new Shopware 5 installation. FLAG DESCRIPTIONS -p, --project-id= ID or short ID of a project; this flag is optional if a default project is set in the context May contain a short ID or a full ID of a project; you can also use the "mw context set --project-id=" command to persistently set a default project for all commands that accept this flag. -q, --quiet suppress process output and only display a machine-readable summary This flag controls if you want to see the process output or only a summary. When using mw non-interactively (e.g. in scripts), you can use this flag to easily get the IDs of created resources for further processing. --admin-email= email address of your administrator user. email address that will be used for the first administrator user that is created during the Shopware 5 installation. If unspecified, email address of your mStudio account will be used. This email address can be changed after the installation is finished. --admin-firstname= first name of your administrator user. The first name that will be used for the first administrator user that is created during the Shopware 5 installation. If unspecified, the first name of your mStudio user will be used. This value can be changed after the installation is finished. --admin-lastname= Lastname of your administrator user. The last name that will be used for the first administrator user that is created during the Shopware 5 installation. If unspecified, the last name of your mStudio user will be used. This value can be changed after the installation is finished. --admin-pass= password of your administrator user. The password that will be used for the first administrator user that is created during the Shopware 5 installation. If unspecified, a random secure password will be generated and printed to stdout. This password can be changed after the installation is finished --admin-user= Username for your administrator user. Username of the first administrator user which will be created during the Shopware 5 installation. If unspecified, an adequate username will be generated. After the installation is finished, the username can be changed and additional administrator users can be created. --host= host to initially configure your Shopware 5 installation with; needs to be created separately. Specify a host which will be used during the installation and as an initial host for the Shopware 5 configuration. If unspecified, the default host for the given project will be used. This does not change the target of the used host and can be changed later by configuring the host and your Shopware 5 installation. ``` -------------------------------- TITLE: Initialize DDEV Project with Mittwald CLI DESCRIPTION: Initializes a new DDEV configuration for an existing Mittwald app installation in the current directory. It creates `.ddev` configuration files, installs the Mittwald DDEV addon, and adds SSH credentials. Requires DDEV to be installed. SOURCE: https://github.com/mittwald/cli/blob/v1.6.0/docs/ddev.md#_snippet_0 LANGUAGE: APIDOC CODE: ``` mw ddev init [INSTALLATION-ID] Initialize a new ddev project in the current directory. USAGE $ mw ddev init [INSTALLATION-ID] [--token ] [-q] [--override-type ] [--without-database | --database-id ] [--project-name ] [--override-mittwald-plugin ] ARGUMENTS INSTALLATION-ID ID or short ID of an app installation; this argument is optional if a default app installation is set in the context. FLAGS -q, --quiet suppress process output and only display a machine-readable summary --database-id= ID of the application database --override-type=