@mittwald/cli 1.0.0-alpha.26 → 1.0.0-alpha.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -82,14 +82,18 @@ USAGE
82
82
  * [`mw app copy INSTALLATION-ID`](#mw-app-copy-installation-id)
83
83
  * [`mw app create node`](#mw-app-create-node)
84
84
  * [`mw app create php`](#mw-app-create-php)
85
+ * [`mw app create python`](#mw-app-create-python)
85
86
  * [`mw app create static`](#mw-app-create-static)
86
87
  * [`mw app dependency list`](#mw-app-dependency-list)
87
88
  * [`mw app dependency update INSTALLATION-ID`](#mw-app-dependency-update-installation-id)
88
89
  * [`mw app dependency versions SYSTEMSOFTWARE`](#mw-app-dependency-versions-systemsoftware)
89
90
  * [`mw app get INSTALLATION-ID`](#mw-app-get-installation-id)
90
91
  * [`mw app install contao`](#mw-app-install-contao)
92
+ * [`mw app install drupal`](#mw-app-install-drupal)
93
+ * [`mw app install grav`](#mw-app-install-grav)
91
94
  * [`mw app install joomla`](#mw-app-install-joomla)
92
95
  * [`mw app install matomo`](#mw-app-install-matomo)
96
+ * [`mw app install nextcloud`](#mw-app-install-nextcloud)
93
97
  * [`mw app install shopware5`](#mw-app-install-shopware5)
94
98
  * [`mw app install shopware6`](#mw-app-install-shopware6)
95
99
  * [`mw app install typo3`](#mw-app-install-typo3)
@@ -319,6 +323,54 @@ FLAG DESCRIPTIONS
319
323
  installation is finished
320
324
  ```
321
325
 
326
+ ## `mw app create python`
327
+
328
+ Creates new custom python site installation.
329
+
330
+ ```
331
+ USAGE
332
+ $ mw app create python --document-root <value> [-p <value>] [-q] [--site-title <value>] [-w] [--json]
333
+
334
+ FLAGS
335
+ -p, --project-id=<value> ID or short ID of a project; this flag is optional if a default project is set in the
336
+ context
337
+ -q, --quiet suppress process output and only display a machine-readable summary.
338
+ -w, --wait Wait for your custom python site to be ready.
339
+ --document-root=<value> (required) [default: /] The document root from which your custom python site will be served
340
+ (relative to the installation path)
341
+ --json
342
+ --site-title=<value> Site Title for your custom python site installation.
343
+
344
+ DESCRIPTION
345
+ Creates new custom python site installation.
346
+
347
+ FLAG DESCRIPTIONS
348
+ -p, --project-id=<value> ID or short ID of a project; this flag is optional if a default project is set in the context
349
+
350
+ May contain a short ID or a full ID of a project; you can also use the "mw context set --project-id=<VALUE>" command
351
+ to persistently set a default project for all commands that accept this flag.
352
+
353
+ -q, --quiet suppress process output and only display a machine-readable summary.
354
+
355
+ This flag controls if you want to see the process output or only a summary. When using mw non-interactively (e.g. in
356
+ scripts), you can use this flag to easily get the IDs of created resources for further processing.
357
+
358
+ --document-root=<value>
359
+
360
+ The document root from which your custom python site will be served (relative to the installation path)
361
+
362
+ This is the document root from which the files of your application will be served by the web server. This directory
363
+ is specified relative to the installation path.
364
+
365
+ --site-title=<value> Site Title for your custom python site installation.
366
+
367
+ Site Title which will be displayed in the Tab and at the top of the Frontend of your custom python site
368
+ installation.
369
+ It is also the Title shown in the App-Overview in the mStudio.
370
+ If none is given the Software Name and the given Project will be used. The Title can be changed after the
371
+ installation is finished
372
+ ```
373
+
322
374
  ## `mw app create static`
323
375
 
324
376
  Creates new custom static site installation.
@@ -563,6 +615,162 @@ FLAG DESCRIPTIONS
563
615
  If none is given the Contao will be installed in the latest available version.
564
616
  ```
565
617
 
618
+ ## `mw app install drupal`
619
+
620
+ Creates new Drupal installation.
621
+
622
+ ```
623
+ USAGE
624
+ $ mw app install drupal --version <value> [-p <value>] [-q] [--host <value>] [--admin-user <value>] [--admin-email
625
+ <value>] [--admin-pass <value>] [--site-title <value>] [-w] [--json]
626
+
627
+ FLAGS
628
+ -p, --project-id=<value> ID or short ID of a project; this flag is optional if a default project is set in the
629
+ context
630
+ -q, --quiet suppress process output and only display a machine-readable summary.
631
+ -w, --wait Wait for your Drupal to be ready.
632
+ --admin-email=<value> E-Mail-Address of your administrator-user.
633
+ --admin-pass=<value> Password of your administrator-user.
634
+ --admin-user=<value> Username for your administrator-user.
635
+ --host=<value> Host to initially configure your Drupal installation with; needs to be created separately.
636
+ --json
637
+ --site-title=<value> Site Title for your Drupal installation.
638
+ --version=<value> (required) [default: latest] Version of Drupal to be installed.
639
+
640
+ DESCRIPTION
641
+ Creates new Drupal installation.
642
+
643
+ FLAG DESCRIPTIONS
644
+ -p, --project-id=<value> ID or short ID of a project; this flag is optional if a default project is set in the context
645
+
646
+ May contain a short ID or a full ID of a project; you can also use the "mw context set --project-id=<VALUE>" command
647
+ to persistently set a default project for all commands that accept this flag.
648
+
649
+ -q, --quiet suppress process output and only display a machine-readable summary.
650
+
651
+ This flag controls if you want to see the process output or only a summary. When using mw non-interactively (e.g. in
652
+ scripts), you can use this flag to easily get the IDs of created resources for further processing.
653
+
654
+ --admin-email=<value> E-Mail-Address of your administrator-user.
655
+
656
+ E-Mail-Address that will correlate to the first administrator-user which will be created during the Drupal
657
+ installation.
658
+ If not given your mStudio Account-E-Mail-Address will be used. This E-Mail-Address can be changed after the
659
+ installation is finished.
660
+
661
+ --admin-pass=<value> Password of your administrator-user.
662
+
663
+ Password that will correlate to the first administrator-user which will be created during the Drupal installation.
664
+ If not given a random secure Password will be generated and sent to stdout. This Password can be changed after the
665
+ installation is finished
666
+
667
+ --admin-user=<value> Username for your administrator-user.
668
+
669
+ Username of the first administrator-user which will be created during the Drupal installation.
670
+ If not given an adequate username will be created from your mStudio Account Data.
671
+ After the installation is finished the Username can be changed and additional administrator-users can be created.
672
+
673
+ --host=<value> Host to initially configure your Drupal installation with; needs to be created separately.
674
+
675
+ Specify a host which will be used during the installation and as an initial host for the Drupal configuration.
676
+ If not given the default host for the given Project will be used.
677
+ This does not change the target of the used Host and can be changed later by configuring the Host and your Drupal
678
+ installation.
679
+
680
+ --site-title=<value> Site Title for your Drupal installation.
681
+
682
+ Site Title which will be displayed in the Tab and at the top of the Frontend of your Drupal installation.
683
+ It is also the Title shown in the App-Overview in the mStudio.
684
+ If none is given the Software Name and the given Project will be used. The Title can be changed after the
685
+ installation is finished
686
+
687
+ --version=<value> Version of Drupal to be installed.
688
+
689
+ Specify the Version in which your Drupal will be installed.
690
+ If none is given the Drupal will be installed in the latest available version.
691
+ ```
692
+
693
+ ## `mw app install grav`
694
+
695
+ Creates new Grav installation.
696
+
697
+ ```
698
+ USAGE
699
+ $ mw app install grav --version <value> [-p <value>] [-q] [--admin-user <value>] [--admin-email <value>]
700
+ [--admin-pass <value>] [--admin-firstname <value>] [--admin-lastname <value>] [--site-title <value>] [-w] [--json]
701
+
702
+ FLAGS
703
+ -p, --project-id=<value> ID or short ID of a project; this flag is optional if a default project is set in the
704
+ context
705
+ -q, --quiet suppress process output and only display a machine-readable summary.
706
+ -w, --wait Wait for your Grav to be ready.
707
+ --admin-email=<value> E-Mail-Address of your administrator-user.
708
+ --admin-firstname=<value> Firstname of your administrator-user.
709
+ --admin-lastname=<value> Lastname of your administrator-user.
710
+ --admin-pass=<value> Password of your administrator-user.
711
+ --admin-user=<value> Username for your administrator-user.
712
+ --json
713
+ --site-title=<value> Site Title for your Grav installation.
714
+ --version=<value> (required) [default: latest] Version of Grav to be installed.
715
+
716
+ DESCRIPTION
717
+ Creates new Grav installation.
718
+
719
+ FLAG DESCRIPTIONS
720
+ -p, --project-id=<value> ID or short ID of a project; this flag is optional if a default project is set in the context
721
+
722
+ May contain a short ID or a full ID of a project; you can also use the "mw context set --project-id=<VALUE>" command
723
+ to persistently set a default project for all commands that accept this flag.
724
+
725
+ -q, --quiet suppress process output and only display a machine-readable summary.
726
+
727
+ This flag controls if you want to see the process output or only a summary. When using mw non-interactively (e.g. in
728
+ scripts), you can use this flag to easily get the IDs of created resources for further processing.
729
+
730
+ --admin-email=<value> E-Mail-Address of your administrator-user.
731
+
732
+ E-Mail-Address that will correlate to the first administrator-user which will be created during the Grav
733
+ installation.
734
+ If not given your mStudio Account-E-Mail-Address will be used. This E-Mail-Address can be changed after the
735
+ installation is finished.
736
+
737
+ --admin-firstname=<value> Firstname of your administrator-user.
738
+
739
+ Firstname that will correlate to the first administrator-user which will be created during the Grav installation.
740
+ If none is given your mStudio Account-Firstname will be used. This Firstname can be changed after the installation
741
+ is finished
742
+
743
+ --admin-lastname=<value> Lastname of your administrator-user.
744
+
745
+ Lastname that will correlate to the first administrator-user which will be created during the Grav installation.
746
+ If none is given your mStudio Account-Firstname will be used. This Lastname can be changed after the installation is
747
+ finished
748
+
749
+ --admin-pass=<value> Password of your administrator-user.
750
+
751
+ Password that will correlate to the first administrator-user which will be created during the Grav installation.
752
+ If not given a random secure Password will be generated and sent to stdout. This Password can be changed after the
753
+ installation is finished
754
+
755
+ --admin-user=<value> Username for your administrator-user.
756
+
757
+ Username of the first administrator-user which will be created during the Grav installation.
758
+ If not given an adequate username will be created from your mStudio Account Data.
759
+ After the installation is finished the Username can be changed and additional administrator-users can be created.
760
+
761
+ --site-title=<value> Site Title for your Grav installation.
762
+
763
+ Site Title which will be displayed in the Tab and at the top of the Frontend of your Grav installation.
764
+ It is also the Title shown in the App-Overview in the mStudio.
765
+ If none is given the Software Name and the given Project will be used. The Title can be changed after the
766
+ installation is finished
767
+
768
+ --version=<value> Version of Grav to be installed.
769
+
770
+ Specify the Version in which your Grav will be installed.
771
+ If none is given the Grav will be installed in the latest available version.
772
+ ```
773
+
566
774
  ## `mw app install joomla`
567
775
 
568
776
  Creates new Joomla! installation.
@@ -728,6 +936,83 @@ FLAG DESCRIPTIONS
728
936
  If none is given the Matomo will be installed in the latest available version.
729
937
  ```
730
938
 
939
+ ## `mw app install nextcloud`
940
+
941
+ Creates new Shopware 6 installation.
942
+
943
+ ```
944
+ USAGE
945
+ $ mw app install nextcloud --version <value> [-p <value>] [-q] [--host <value>] [--admin-user <value>] [--admin-email
946
+ <value>] [--admin-pass <value>] [--site-title <value>] [-w] [--json]
947
+
948
+ FLAGS
949
+ -p, --project-id=<value> ID or short ID of a project; this flag is optional if a default project is set in the
950
+ context
951
+ -q, --quiet suppress process output and only display a machine-readable summary.
952
+ -w, --wait Wait for your Shopware 6 to be ready.
953
+ --admin-email=<value> E-Mail-Address of your administrator-user.
954
+ --admin-pass=<value> Password of your administrator-user.
955
+ --admin-user=<value> Username for your administrator-user.
956
+ --host=<value> Host to initially configure your Shopware 6 installation with; needs to be created
957
+ separately.
958
+ --json
959
+ --site-title=<value> Site Title for your Shopware 6 installation.
960
+ --version=<value> (required) [default: latest] Version of Shopware 6 to be installed.
961
+
962
+ DESCRIPTION
963
+ Creates new Shopware 6 installation.
964
+
965
+ FLAG DESCRIPTIONS
966
+ -p, --project-id=<value> ID or short ID of a project; this flag is optional if a default project is set in the context
967
+
968
+ May contain a short ID or a full ID of a project; you can also use the "mw context set --project-id=<VALUE>" command
969
+ to persistently set a default project for all commands that accept this flag.
970
+
971
+ -q, --quiet suppress process output and only display a machine-readable summary.
972
+
973
+ This flag controls if you want to see the process output or only a summary. When using mw non-interactively (e.g. in
974
+ scripts), you can use this flag to easily get the IDs of created resources for further processing.
975
+
976
+ --admin-email=<value> E-Mail-Address of your administrator-user.
977
+
978
+ E-Mail-Address that will correlate to the first administrator-user which will be created during the Shopware 6
979
+ installation.
980
+ If not given your mStudio Account-E-Mail-Address will be used. This E-Mail-Address can be changed after the
981
+ installation is finished.
982
+
983
+ --admin-pass=<value> Password of your administrator-user.
984
+
985
+ Password that will correlate to the first administrator-user which will be created during the Shopware 6
986
+ installation.
987
+ If not given a random secure Password will be generated and sent to stdout. This Password can be changed after the
988
+ installation is finished
989
+
990
+ --admin-user=<value> Username for your administrator-user.
991
+
992
+ Username of the first administrator-user which will be created during the Shopware 6 installation.
993
+ If not given an adequate username will be created from your mStudio Account Data.
994
+ After the installation is finished the Username can be changed and additional administrator-users can be created.
995
+
996
+ --host=<value> Host to initially configure your Shopware 6 installation with; needs to be created separately.
997
+
998
+ Specify a host which will be used during the installation and as an initial host for the Shopware 6 configuration.
999
+ If not given the default host for the given Project will be used.
1000
+ This does not change the target of the used Host and can be changed later by configuring the Host and your Shopware
1001
+ 6 installation.
1002
+
1003
+ --site-title=<value> Site Title for your Shopware 6 installation.
1004
+
1005
+ Site Title which will be displayed in the Tab and at the top of the Frontend of your Shopware 6 installation.
1006
+ It is also the Title shown in the App-Overview in the mStudio.
1007
+ If none is given the Software Name and the given Project will be used. The Title can be changed after the
1008
+ installation is finished
1009
+
1010
+ --version=<value> Version of Shopware 6 to be installed.
1011
+
1012
+ Specify the Version in which your Shopware 6 will be installed.
1013
+ If none is given the Shopware 6 will be installed in the latest available version.
1014
+ ```
1015
+
731
1016
  ## `mw app install shopware5`
732
1017
 
733
1018
  Creates new Shopware 5 installation.
@@ -0,0 +1,12 @@
1
+ import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
2
+ import React from "react";
3
+ import { AppInstallationResult, AppInstaller } from "../../../lib/app/Installer.js";
4
+ export declare const pythonInstaller: AppInstaller<"site-title" | "document-root" | "wait">;
5
+ export default class InstallPython extends ExecRenderBaseCommand<typeof InstallPython, AppInstallationResult> {
6
+ static description: string;
7
+ static flags: import("@oclif/core/lib/interfaces/parser.js").FlagInput<import("../../../lib/app/flags.js").RelevantFlags<readonly ("site-title" | "document-root" | "wait")[]>>;
8
+ protected exec(): Promise<{
9
+ appInstallationId: string;
10
+ }>;
11
+ protected render(result: AppInstallationResult): React.ReactNode;
12
+ }
@@ -0,0 +1,13 @@
1
+ import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
2
+ import { AppInstaller, } from "../../../lib/app/Installer.js";
3
+ export const pythonInstaller = new AppInstaller("be57d166-dae9-4480-bae2-da3f3c6f0a2e", "custom python site", ["document-root", "site-title", "wait"]);
4
+ export default class InstallPython extends ExecRenderBaseCommand {
5
+ static description = pythonInstaller.description;
6
+ static flags = pythonInstaller.flags;
7
+ async exec() {
8
+ return pythonInstaller.exec(this.apiClient, this.args, this.flags, this.config);
9
+ }
10
+ render(result) {
11
+ return pythonInstaller.render(result, this.flags);
12
+ }
13
+ }
@@ -2,7 +2,7 @@ import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCo
2
2
  import React from "react";
3
3
  import { AppInstallationResult, AppInstaller } from "../../../lib/app/Installer.js";
4
4
  export declare const staticInstaller: AppInstaller<"site-title" | "document-root" | "wait">;
5
- export default class InstallNode extends ExecRenderBaseCommand<typeof InstallNode, AppInstallationResult> {
5
+ export default class InstallStatic extends ExecRenderBaseCommand<typeof InstallStatic, AppInstallationResult> {
6
6
  static description: string;
7
7
  static flags: import("@oclif/core/lib/interfaces/parser.js").FlagInput<import("../../../lib/app/flags.js").RelevantFlags<readonly ("site-title" | "document-root" | "wait")[]>>;
8
8
  protected exec(): Promise<{
@@ -1,7 +1,7 @@
1
1
  import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
2
2
  import { AppInstaller, } from "../../../lib/app/Installer.js";
3
3
  export const staticInstaller = new AppInstaller("d20baefd-81d2-42aa-bfba-9a3220ae839b", "custom static site", ["document-root", "site-title", "wait"]);
4
- export default class InstallNode extends ExecRenderBaseCommand {
4
+ export default class InstallStatic extends ExecRenderBaseCommand {
5
5
  static description = staticInstaller.description;
6
6
  static flags = staticInstaller.flags;
7
7
  async exec() {
@@ -0,0 +1,11 @@
1
+ import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
2
+ import React from "react";
3
+ import { AppInstallationResult } from "../../../lib/app/Installer.js";
4
+ export default class InstallDrupal extends ExecRenderBaseCommand<typeof InstallDrupal, AppInstallationResult> {
5
+ static description: string;
6
+ static flags: import("@oclif/core/lib/interfaces/parser.js").FlagInput<import("../../../lib/app/flags.js").RelevantFlags<readonly ("version" | "host" | "admin-user" | "admin-email" | "admin-pass" | "site-title" | "wait")[]>>;
7
+ protected exec(): Promise<{
8
+ appInstallationId: string;
9
+ }>;
10
+ protected render(result: AppInstallationResult): React.ReactNode;
11
+ }
@@ -0,0 +1,21 @@
1
+ import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
2
+ import { AppInstaller, } from "../../../lib/app/Installer.js";
3
+ const installer = new AppInstaller("3d8a261a-3d6f-4e09-b68c-bfe90aece514", "Drupal", [
4
+ "version",
5
+ "host",
6
+ "admin-user",
7
+ "admin-email",
8
+ "admin-pass",
9
+ "site-title",
10
+ "wait",
11
+ ]);
12
+ export default class InstallDrupal extends ExecRenderBaseCommand {
13
+ static description = installer.description;
14
+ static flags = installer.flags;
15
+ async exec() {
16
+ return installer.exec(this.apiClient, this.args, this.flags, this.config);
17
+ }
18
+ render(result) {
19
+ return installer.render(result, this.flags);
20
+ }
21
+ }
@@ -0,0 +1,11 @@
1
+ import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
2
+ import React from "react";
3
+ import { AppInstallationResult } from "../../../lib/app/Installer.js";
4
+ export default class InstallGrav extends ExecRenderBaseCommand<typeof InstallGrav, AppInstallationResult> {
5
+ static description: string;
6
+ static flags: import("@oclif/core/lib/interfaces/parser.js").FlagInput<import("../../../lib/app/flags.js").RelevantFlags<readonly ("version" | "admin-user" | "admin-email" | "admin-pass" | "admin-firstname" | "admin-lastname" | "site-title" | "wait")[]>>;
7
+ protected exec(): Promise<{
8
+ appInstallationId: string;
9
+ }>;
10
+ protected render(result: AppInstallationResult): React.ReactNode;
11
+ }
@@ -0,0 +1,22 @@
1
+ import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
2
+ import { AppInstaller, } from "../../../lib/app/Installer.js";
3
+ const installer = new AppInstaller("d3a465da-75a2-44ab-8e81-6960055f6255", "Grav", [
4
+ "version",
5
+ "admin-user",
6
+ "admin-email",
7
+ "admin-pass",
8
+ "admin-firstname",
9
+ "admin-lastname",
10
+ "site-title",
11
+ "wait",
12
+ ]);
13
+ export default class InstallGrav extends ExecRenderBaseCommand {
14
+ static description = installer.description;
15
+ static flags = installer.flags;
16
+ async exec() {
17
+ return installer.exec(this.apiClient, this.args, this.flags, this.config);
18
+ }
19
+ render(result) {
20
+ return installer.render(result, this.flags);
21
+ }
22
+ }
@@ -0,0 +1,11 @@
1
+ import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
2
+ import React from "react";
3
+ import { AppInstallationResult } from "../../../lib/app/Installer.js";
4
+ export default class InstallNextcloud extends ExecRenderBaseCommand<typeof InstallNextcloud, AppInstallationResult> {
5
+ static description: string;
6
+ static flags: import("@oclif/core/lib/interfaces/parser.js").FlagInput<import("../../../lib/app/flags.js").RelevantFlags<readonly ("version" | "host" | "admin-user" | "admin-email" | "admin-pass" | "site-title" | "wait")[]>>;
7
+ protected exec(): Promise<{
8
+ appInstallationId: string;
9
+ }>;
10
+ protected render(result: AppInstallationResult): React.ReactNode;
11
+ }
@@ -0,0 +1,21 @@
1
+ import { ExecRenderBaseCommand } from "../../../rendering/react/ExecRenderBaseCommand.js";
2
+ import { AppInstaller, } from "../../../lib/app/Installer.js";
3
+ const installer = new AppInstaller("0b97d59f-ee13-4f18-a1f6-53e1beaf2e70", "Shopware 6", [
4
+ "version",
5
+ "host",
6
+ "admin-user",
7
+ "admin-email",
8
+ "admin-pass",
9
+ "site-title",
10
+ "wait",
11
+ ]);
12
+ export default class InstallNextcloud extends ExecRenderBaseCommand {
13
+ static description = installer.description;
14
+ static flags = installer.flags;
15
+ async exec() {
16
+ return installer.exec(this.apiClient, this.args, this.flags, this.config);
17
+ }
18
+ render(result) {
19
+ return installer.render(result, this.flags);
20
+ }
21
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/cli",
3
- "version": "1.0.0-alpha.26",
3
+ "version": "1.0.0-alpha.27",
4
4
  "description": "Hand-crafted CLI for the mittwald API",
5
5
  "license": "MIT",
6
6
  "author": {