@jahia/jahia-cli 0.5.1 → 0.5.2
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.
|
@@ -8,7 +8,7 @@ export declare const DEFAULT_WORKFLOWS_FILENAME = "jahia-cli.workflows.global.ym
|
|
|
8
8
|
* Precedence:
|
|
9
9
|
* 1. CLI flag value (resolved relative to CWD)
|
|
10
10
|
* 2. Config key value (resolved relative to config file directory)
|
|
11
|
-
* 3. Default: jahia-cli.workflows.global.yml in
|
|
11
|
+
* 3. Default: jahia-cli.workflows.global.yml in the config file's directory
|
|
12
12
|
*
|
|
13
13
|
* Returns { path, isExplicit } where isExplicit is true when the user
|
|
14
14
|
* explicitly specified a file (via flag or config key) rather than relying on
|
|
@@ -9,7 +9,7 @@ export const DEFAULT_WORKFLOWS_FILENAME = 'jahia-cli.workflows.global.yml';
|
|
|
9
9
|
* Precedence:
|
|
10
10
|
* 1. CLI flag value (resolved relative to CWD)
|
|
11
11
|
* 2. Config key value (resolved relative to config file directory)
|
|
12
|
-
* 3. Default: jahia-cli.workflows.global.yml in
|
|
12
|
+
* 3. Default: jahia-cli.workflows.global.yml in the config file's directory
|
|
13
13
|
*
|
|
14
14
|
* Returns { path, isExplicit } where isExplicit is true when the user
|
|
15
15
|
* explicitly specified a file (via flag or config key) rather than relying on
|
|
@@ -23,6 +23,6 @@ export const resolveWorkflowsFilePath = (configDir, configKey, flagValue) => {
|
|
|
23
23
|
if (configKey !== undefined) {
|
|
24
24
|
return { path: resolve(configDir, configKey), isExplicit: true };
|
|
25
25
|
}
|
|
26
|
-
return { path: resolve(DEFAULT_WORKFLOWS_FILENAME), isExplicit: false };
|
|
26
|
+
return { path: resolve(configDir, DEFAULT_WORKFLOWS_FILENAME), isExplicit: false };
|
|
27
27
|
};
|
|
28
28
|
//# sourceMappingURL=resolve-workflows-file-path.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolve-workflows-file-path.js","sourceRoot":"","sources":["../../../src/lib/workflow/resolve-workflows-file-path.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,gCAAgC,CAAC;AAE3E;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACtC,SAAiB,EACjB,SAA6B,EAC7B,SAA6B,EAC4B,EAAE;IAC3D,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;QAC5B,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,SAAS,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;IACxD,CAAC;IAED,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;QAC5B,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,SAAS,EAAE,SAAS,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;IACnE,CAAC;IAED,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,0BAA0B,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"resolve-workflows-file-path.js","sourceRoot":"","sources":["../../../src/lib/workflow/resolve-workflows-file-path.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,gCAAgC,CAAC;AAE3E;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACtC,SAAiB,EACjB,SAA6B,EAC7B,SAA6B,EAC4B,EAAE;IAC3D,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;QAC5B,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,SAAS,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;IACxD,CAAC;IAED,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;QAC5B,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,SAAS,EAAE,SAAS,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;IACnE,CAAC;IAED,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,SAAS,EAAE,0BAA0B,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;AACrF,CAAC,CAAC"}
|
package/oclif.manifest.json
CHANGED
|
@@ -783,32 +783,31 @@
|
|
|
783
783
|
"provision.js"
|
|
784
784
|
]
|
|
785
785
|
},
|
|
786
|
-
"
|
|
786
|
+
"tests:artifacts": {
|
|
787
787
|
"aliases": [],
|
|
788
788
|
"args": {},
|
|
789
|
-
"description": "
|
|
789
|
+
"description": "Collect test artifacts (container logs and diagnostic files) from the active environment. Fetches logs from VictoriaLogs (with docker logs fallback) and copies container artifact paths defined in component definitions or config overrides.",
|
|
790
790
|
"examples": [
|
|
791
|
-
"<%= config.bin %>
|
|
792
|
-
"<%= config.bin %>
|
|
793
|
-
"<%= config.bin %>
|
|
794
|
-
"<%= config.bin %> workflow init --json"
|
|
791
|
+
"<%= config.bin %> tests artifacts",
|
|
792
|
+
"<%= config.bin %> tests artifacts --output ./ci-results/",
|
|
793
|
+
"<%= config.bin %> tests artifacts --state /ci/workspace/state.json --json"
|
|
795
794
|
],
|
|
796
795
|
"flags": {
|
|
797
|
-
"
|
|
798
|
-
"
|
|
799
|
-
"
|
|
800
|
-
"name": "
|
|
801
|
-
"default": "jahia-cli.config.yml",
|
|
796
|
+
"state": {
|
|
797
|
+
"description": "Path to the state JSON file. Overrides JAHIA_CLI_STATE env var. Defaults to ~/.jahia-cli/state.json",
|
|
798
|
+
"env": "JAHIA_CLI_STATE",
|
|
799
|
+
"name": "state",
|
|
802
800
|
"hasDynamicHelp": false,
|
|
803
801
|
"multiple": false,
|
|
804
802
|
"type": "option"
|
|
805
803
|
},
|
|
806
|
-
"
|
|
807
|
-
"char": "
|
|
808
|
-
"description": "
|
|
809
|
-
"name": "
|
|
810
|
-
"
|
|
811
|
-
"
|
|
804
|
+
"output": {
|
|
805
|
+
"char": "o",
|
|
806
|
+
"description": "Output directory for collected artifacts (default: ./results/)",
|
|
807
|
+
"name": "output",
|
|
808
|
+
"hasDynamicHelp": false,
|
|
809
|
+
"multiple": false,
|
|
810
|
+
"type": "option"
|
|
812
811
|
},
|
|
813
812
|
"json": {
|
|
814
813
|
"description": "Output result as structured JSON (for AI agents and scripting)",
|
|
@@ -819,7 +818,7 @@
|
|
|
819
818
|
},
|
|
820
819
|
"hasDynamicHelp": false,
|
|
821
820
|
"hiddenAliases": [],
|
|
822
|
-
"id": "
|
|
821
|
+
"id": "tests:artifacts",
|
|
823
822
|
"pluginAlias": "@jahia/jahia-cli",
|
|
824
823
|
"pluginName": "@jahia/jahia-cli",
|
|
825
824
|
"pluginType": "core",
|
|
@@ -829,64 +828,54 @@
|
|
|
829
828
|
"relativePath": [
|
|
830
829
|
"dist",
|
|
831
830
|
"commands",
|
|
832
|
-
"
|
|
833
|
-
"
|
|
831
|
+
"tests",
|
|
832
|
+
"artifacts.js"
|
|
834
833
|
]
|
|
835
834
|
},
|
|
836
|
-
"
|
|
835
|
+
"tests:build": {
|
|
837
836
|
"aliases": [],
|
|
838
837
|
"args": {},
|
|
839
|
-
"description": "
|
|
838
|
+
"description": "Build the test Docker image using docker buildx. All build parameters (dockerfile, image, tag, platform, buildArgs) are read from the config file under tests.container. The image stays local (no push) and can be run with \"tests run\".",
|
|
840
839
|
"examples": [
|
|
841
|
-
"<%= config.bin %>
|
|
842
|
-
"<%= config.bin %>
|
|
843
|
-
"<%= config.bin %>
|
|
844
|
-
"<%= config.bin %>
|
|
840
|
+
"<%= config.bin %> tests build -c config.yml",
|
|
841
|
+
"<%= config.bin %> tests build -c config.yml --no-cache",
|
|
842
|
+
"<%= config.bin %> tests build -c config.yml --context /path/to/test/root",
|
|
843
|
+
"<%= config.bin %> tests build -c config.yml --json"
|
|
845
844
|
],
|
|
846
845
|
"flags": {
|
|
847
846
|
"config": {
|
|
848
847
|
"char": "c",
|
|
849
|
-
"description": "Path to
|
|
848
|
+
"description": "Path to jahia-cli config file",
|
|
850
849
|
"name": "config",
|
|
851
850
|
"required": true,
|
|
852
851
|
"hasDynamicHelp": false,
|
|
853
852
|
"multiple": false,
|
|
854
853
|
"type": "option"
|
|
855
854
|
},
|
|
856
|
-
"
|
|
857
|
-
"
|
|
858
|
-
"
|
|
859
|
-
"
|
|
855
|
+
"context": {
|
|
856
|
+
"description": "Docker build context directory (default: current working directory)",
|
|
857
|
+
"name": "context",
|
|
858
|
+
"default": ".",
|
|
860
859
|
"hasDynamicHelp": false,
|
|
861
860
|
"multiple": false,
|
|
862
861
|
"type": "option"
|
|
863
862
|
},
|
|
864
|
-
"
|
|
865
|
-
"
|
|
866
|
-
"
|
|
867
|
-
"
|
|
868
|
-
"
|
|
869
|
-
"multiple": false,
|
|
870
|
-
"type": "option"
|
|
863
|
+
"no-cache": {
|
|
864
|
+
"description": "Build without using cache",
|
|
865
|
+
"name": "no-cache",
|
|
866
|
+
"allowNo": false,
|
|
867
|
+
"type": "boolean"
|
|
871
868
|
},
|
|
872
869
|
"json": {
|
|
873
|
-
"description": "Output result as structured JSON
|
|
870
|
+
"description": "Output result as structured JSON",
|
|
874
871
|
"name": "json",
|
|
875
872
|
"allowNo": false,
|
|
876
873
|
"type": "boolean"
|
|
877
|
-
},
|
|
878
|
-
"state": {
|
|
879
|
-
"char": "s",
|
|
880
|
-
"description": "Path to the state file (auto-passed to jahia-cli subcommands)",
|
|
881
|
-
"name": "state",
|
|
882
|
-
"hasDynamicHelp": false,
|
|
883
|
-
"multiple": false,
|
|
884
|
-
"type": "option"
|
|
885
874
|
}
|
|
886
875
|
},
|
|
887
876
|
"hasDynamicHelp": false,
|
|
888
877
|
"hiddenAliases": [],
|
|
889
|
-
"id": "
|
|
878
|
+
"id": "tests:build",
|
|
890
879
|
"pluginAlias": "@jahia/jahia-cli",
|
|
891
880
|
"pluginName": "@jahia/jahia-cli",
|
|
892
881
|
"pluginType": "core",
|
|
@@ -896,32 +885,33 @@
|
|
|
896
885
|
"relativePath": [
|
|
897
886
|
"dist",
|
|
898
887
|
"commands",
|
|
899
|
-
"
|
|
900
|
-
"
|
|
888
|
+
"tests",
|
|
889
|
+
"build.js"
|
|
901
890
|
]
|
|
902
891
|
},
|
|
903
|
-
"tests:
|
|
892
|
+
"tests:init": {
|
|
904
893
|
"aliases": [],
|
|
905
894
|
"args": {},
|
|
906
|
-
"description": "
|
|
895
|
+
"description": "Initialize local test scaffolding from a remote repository. Syncs missing files from the configured scaffolding source and manages .gitignore so that remotely-sourced files are not accidentally committed.",
|
|
907
896
|
"examples": [
|
|
908
|
-
"<%= config.bin %> tests
|
|
909
|
-
"<%= config.bin %> tests
|
|
910
|
-
"<%= config.bin %> tests
|
|
897
|
+
"<%= config.bin %> tests init",
|
|
898
|
+
"<%= config.bin %> tests init --config ./my-config.yml",
|
|
899
|
+
"<%= config.bin %> tests init --path ./tests --json"
|
|
911
900
|
],
|
|
912
901
|
"flags": {
|
|
913
|
-
"
|
|
914
|
-
"
|
|
915
|
-
"
|
|
916
|
-
"
|
|
902
|
+
"config": {
|
|
903
|
+
"char": "c",
|
|
904
|
+
"description": "Path to config file (default: jahia-cli.config.yml)",
|
|
905
|
+
"env": "JAHIA_CLI_CONFIG",
|
|
906
|
+
"name": "config",
|
|
917
907
|
"hasDynamicHelp": false,
|
|
918
908
|
"multiple": false,
|
|
919
909
|
"type": "option"
|
|
920
910
|
},
|
|
921
|
-
"
|
|
922
|
-
"char": "
|
|
923
|
-
"description": "
|
|
924
|
-
"name": "
|
|
911
|
+
"path": {
|
|
912
|
+
"char": "p",
|
|
913
|
+
"description": "Override destination directory for scaffolding files",
|
|
914
|
+
"name": "path",
|
|
925
915
|
"hasDynamicHelp": false,
|
|
926
916
|
"multiple": false,
|
|
927
917
|
"type": "option"
|
|
@@ -935,7 +925,7 @@
|
|
|
935
925
|
},
|
|
936
926
|
"hasDynamicHelp": false,
|
|
937
927
|
"hiddenAliases": [],
|
|
938
|
-
"id": "tests:
|
|
928
|
+
"id": "tests:init",
|
|
939
929
|
"pluginAlias": "@jahia/jahia-cli",
|
|
940
930
|
"pluginName": "@jahia/jahia-cli",
|
|
941
931
|
"pluginType": "core",
|
|
@@ -946,18 +936,17 @@
|
|
|
946
936
|
"dist",
|
|
947
937
|
"commands",
|
|
948
938
|
"tests",
|
|
949
|
-
"
|
|
939
|
+
"init.js"
|
|
950
940
|
]
|
|
951
941
|
},
|
|
952
|
-
"tests:
|
|
942
|
+
"tests:run": {
|
|
953
943
|
"aliases": [],
|
|
954
944
|
"args": {},
|
|
955
|
-
"description": "
|
|
945
|
+
"description": "Run the test Docker image against an active environment. The container attaches to the environment network, streams output in real-time, and the CLI exits with the container exit code. Container is kept after completion for debugging.",
|
|
956
946
|
"examples": [
|
|
957
|
-
"<%= config.bin %> tests
|
|
958
|
-
"<%= config.bin %> tests
|
|
959
|
-
"<%= config.bin %> tests
|
|
960
|
-
"<%= config.bin %> tests build -c config.yml --json"
|
|
947
|
+
"<%= config.bin %> tests run -c config.yml",
|
|
948
|
+
"<%= config.bin %> tests run -c config.yml --env CYPRESS_SPEC=cypress/e2e/login.cy.ts",
|
|
949
|
+
"<%= config.bin %> tests run -c config.yml --state /ci/workspace/state.json --json"
|
|
961
950
|
],
|
|
962
951
|
"flags": {
|
|
963
952
|
"config": {
|
|
@@ -969,19 +958,21 @@
|
|
|
969
958
|
"multiple": false,
|
|
970
959
|
"type": "option"
|
|
971
960
|
},
|
|
972
|
-
"
|
|
973
|
-
"description": "
|
|
974
|
-
"
|
|
975
|
-
"
|
|
961
|
+
"state": {
|
|
962
|
+
"description": "Path to the state JSON file. Overrides JAHIA_CLI_STATE env var. Defaults to ~/.jahia-cli/state.json",
|
|
963
|
+
"env": "JAHIA_CLI_STATE",
|
|
964
|
+
"name": "state",
|
|
976
965
|
"hasDynamicHelp": false,
|
|
977
966
|
"multiple": false,
|
|
978
967
|
"type": "option"
|
|
979
968
|
},
|
|
980
|
-
"
|
|
981
|
-
"
|
|
982
|
-
"
|
|
983
|
-
"
|
|
984
|
-
"
|
|
969
|
+
"env": {
|
|
970
|
+
"char": "e",
|
|
971
|
+
"description": "Additional env var for test container (KEY=VALUE, repeatable). Supports ${VAR:-default}.",
|
|
972
|
+
"name": "env",
|
|
973
|
+
"hasDynamicHelp": false,
|
|
974
|
+
"multiple": true,
|
|
975
|
+
"type": "option"
|
|
985
976
|
},
|
|
986
977
|
"json": {
|
|
987
978
|
"description": "Output result as structured JSON",
|
|
@@ -992,7 +983,7 @@
|
|
|
992
983
|
},
|
|
993
984
|
"hasDynamicHelp": false,
|
|
994
985
|
"hiddenAliases": [],
|
|
995
|
-
"id": "tests:
|
|
986
|
+
"id": "tests:run",
|
|
996
987
|
"pluginAlias": "@jahia/jahia-cli",
|
|
997
988
|
"pluginName": "@jahia/jahia-cli",
|
|
998
989
|
"pluginType": "core",
|
|
@@ -1003,35 +994,35 @@
|
|
|
1003
994
|
"dist",
|
|
1004
995
|
"commands",
|
|
1005
996
|
"tests",
|
|
1006
|
-
"
|
|
997
|
+
"run.js"
|
|
1007
998
|
]
|
|
1008
999
|
},
|
|
1009
|
-
"
|
|
1000
|
+
"workflow:init": {
|
|
1010
1001
|
"aliases": [],
|
|
1011
1002
|
"args": {},
|
|
1012
|
-
"description": "
|
|
1003
|
+
"description": "Add sample workflows section to a configuration file. Generates a named \"main\" workflow with representative steps (init, create, alive, test, cleanup) to help get started. Preserves existing environment and tests sections.",
|
|
1013
1004
|
"examples": [
|
|
1014
|
-
"<%= config.bin %>
|
|
1015
|
-
"<%= config.bin %>
|
|
1016
|
-
"<%= config.bin %>
|
|
1005
|
+
"<%= config.bin %> workflow init",
|
|
1006
|
+
"<%= config.bin %> workflow init --config ./my-config.yml",
|
|
1007
|
+
"<%= config.bin %> workflow init --force",
|
|
1008
|
+
"<%= config.bin %> workflow init --json"
|
|
1017
1009
|
],
|
|
1018
1010
|
"flags": {
|
|
1019
1011
|
"config": {
|
|
1020
1012
|
"char": "c",
|
|
1021
|
-
"description": "Path to
|
|
1022
|
-
"env": "JAHIA_CLI_CONFIG",
|
|
1013
|
+
"description": "Path to the YAML configuration file",
|
|
1023
1014
|
"name": "config",
|
|
1015
|
+
"default": "jahia-cli.config.yml",
|
|
1024
1016
|
"hasDynamicHelp": false,
|
|
1025
1017
|
"multiple": false,
|
|
1026
1018
|
"type": "option"
|
|
1027
1019
|
},
|
|
1028
|
-
"
|
|
1029
|
-
"char": "
|
|
1030
|
-
"description": "
|
|
1031
|
-
"name": "
|
|
1032
|
-
"
|
|
1033
|
-
"
|
|
1034
|
-
"type": "option"
|
|
1020
|
+
"force": {
|
|
1021
|
+
"char": "f",
|
|
1022
|
+
"description": "Overwrite existing workflows section if already present",
|
|
1023
|
+
"name": "force",
|
|
1024
|
+
"allowNo": false,
|
|
1025
|
+
"type": "boolean"
|
|
1035
1026
|
},
|
|
1036
1027
|
"json": {
|
|
1037
1028
|
"description": "Output result as structured JSON (for AI agents and scripting)",
|
|
@@ -1042,7 +1033,7 @@
|
|
|
1042
1033
|
},
|
|
1043
1034
|
"hasDynamicHelp": false,
|
|
1044
1035
|
"hiddenAliases": [],
|
|
1045
|
-
"id": "
|
|
1036
|
+
"id": "workflow:init",
|
|
1046
1037
|
"pluginAlias": "@jahia/jahia-cli",
|
|
1047
1038
|
"pluginName": "@jahia/jahia-cli",
|
|
1048
1039
|
"pluginType": "core",
|
|
@@ -1052,55 +1043,64 @@
|
|
|
1052
1043
|
"relativePath": [
|
|
1053
1044
|
"dist",
|
|
1054
1045
|
"commands",
|
|
1055
|
-
"
|
|
1046
|
+
"workflow",
|
|
1056
1047
|
"init.js"
|
|
1057
1048
|
]
|
|
1058
1049
|
},
|
|
1059
|
-
"
|
|
1050
|
+
"workflow:run": {
|
|
1060
1051
|
"aliases": [],
|
|
1061
1052
|
"args": {},
|
|
1062
|
-
"description": "
|
|
1053
|
+
"description": "Execute a named workflow defined in a configuration file. Supports loading shared workflows from a dedicated workflows file (via --workflows-file flag or workflowsFile config key, defaults to jahia-cli.workflows.global.yml in CWD). Config workflows override workflow file ones with the same name. Runs steps sequentially — shell commands via execa, jahia-cli commands via subprocess. Stops on first failure. Use --name to select a workflow, or omit to run the default.",
|
|
1063
1054
|
"examples": [
|
|
1064
|
-
"<%= config.bin %>
|
|
1065
|
-
"<%= config.bin %>
|
|
1066
|
-
"<%= config.bin %>
|
|
1055
|
+
"<%= config.bin %> workflow run --config jahia-cli.config.yml",
|
|
1056
|
+
"<%= config.bin %> workflow run --config jahia-cli.config.yml --name setup",
|
|
1057
|
+
"<%= config.bin %> workflow run --config jahia-cli.config.yml --workflows-file shared.yml",
|
|
1058
|
+
"<%= config.bin %> workflow run --config ./my-config.yml --json"
|
|
1067
1059
|
],
|
|
1068
1060
|
"flags": {
|
|
1069
1061
|
"config": {
|
|
1070
1062
|
"char": "c",
|
|
1071
|
-
"description": "Path to
|
|
1063
|
+
"description": "Path to the YAML configuration file",
|
|
1072
1064
|
"name": "config",
|
|
1073
1065
|
"required": true,
|
|
1074
1066
|
"hasDynamicHelp": false,
|
|
1075
1067
|
"multiple": false,
|
|
1076
1068
|
"type": "option"
|
|
1077
1069
|
},
|
|
1078
|
-
"
|
|
1079
|
-
"
|
|
1080
|
-
"
|
|
1081
|
-
"name": "
|
|
1070
|
+
"name": {
|
|
1071
|
+
"char": "n",
|
|
1072
|
+
"description": "Name of the workflow to run (runs default workflow if omitted)",
|
|
1073
|
+
"name": "name",
|
|
1082
1074
|
"hasDynamicHelp": false,
|
|
1083
1075
|
"multiple": false,
|
|
1084
1076
|
"type": "option"
|
|
1085
1077
|
},
|
|
1086
|
-
"
|
|
1087
|
-
"char": "
|
|
1088
|
-
"description": "
|
|
1089
|
-
"name": "
|
|
1078
|
+
"workflows-file": {
|
|
1079
|
+
"char": "w",
|
|
1080
|
+
"description": "Path to a dedicated workflows YAML file. Merged with config workflows (config takes precedence). Resolved relative to CWD. Overrides the workflowsFile config key. Defaults to jahia-cli.workflows.global.yml in CWD.",
|
|
1081
|
+
"name": "workflows-file",
|
|
1090
1082
|
"hasDynamicHelp": false,
|
|
1091
|
-
"multiple":
|
|
1083
|
+
"multiple": false,
|
|
1092
1084
|
"type": "option"
|
|
1093
1085
|
},
|
|
1094
1086
|
"json": {
|
|
1095
|
-
"description": "Output result as structured JSON",
|
|
1087
|
+
"description": "Output result as structured JSON (for AI agents and scripting)",
|
|
1096
1088
|
"name": "json",
|
|
1097
1089
|
"allowNo": false,
|
|
1098
1090
|
"type": "boolean"
|
|
1091
|
+
},
|
|
1092
|
+
"state": {
|
|
1093
|
+
"char": "s",
|
|
1094
|
+
"description": "Path to the state file (auto-passed to jahia-cli subcommands)",
|
|
1095
|
+
"name": "state",
|
|
1096
|
+
"hasDynamicHelp": false,
|
|
1097
|
+
"multiple": false,
|
|
1098
|
+
"type": "option"
|
|
1099
1099
|
}
|
|
1100
1100
|
},
|
|
1101
1101
|
"hasDynamicHelp": false,
|
|
1102
1102
|
"hiddenAliases": [],
|
|
1103
|
-
"id": "
|
|
1103
|
+
"id": "workflow:run",
|
|
1104
1104
|
"pluginAlias": "@jahia/jahia-cli",
|
|
1105
1105
|
"pluginName": "@jahia/jahia-cli",
|
|
1106
1106
|
"pluginType": "core",
|
|
@@ -1110,10 +1110,10 @@
|
|
|
1110
1110
|
"relativePath": [
|
|
1111
1111
|
"dist",
|
|
1112
1112
|
"commands",
|
|
1113
|
-
"
|
|
1113
|
+
"workflow",
|
|
1114
1114
|
"run.js"
|
|
1115
1115
|
]
|
|
1116
1116
|
}
|
|
1117
1117
|
},
|
|
1118
|
-
"version": "0.5.
|
|
1118
|
+
"version": "0.5.2"
|
|
1119
1119
|
}
|