steedos-cli 2.7.27-beta.6 → 3.0.0-beta.7
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/bin/run +1 -1
- package/default.steedos.config.js +4 -3
- package/dist/auth/index.js +1 -2
- package/dist/auth/index.js.map +1 -1
- package/dist/commands/auth/login.js.map +1 -1
- package/dist/commands/data/export.js.map +1 -1
- package/dist/commands/data/import.js.map +1 -1
- package/dist/commands/package/build.js.map +1 -1
- package/dist/commands/package/start.js +17 -7
- package/dist/commands/package/start.js.map +1 -1
- package/dist/commands/source/config.js.map +1 -1
- package/dist/commands/source/convert.js.map +1 -1
- package/dist/commands/source/deploy.js.map +1 -1
- package/dist/commands/source/retrieve.js.map +1 -1
- package/dist/commands/start.js +18 -7
- package/dist/commands/start.js.map +1 -1
- package/dist/i18n/convert.js +18 -10
- package/dist/i18n/convert.js.map +1 -1
- package/dist/i18n/index.js +2 -6
- package/dist/i18n/index.js.map +1 -1
- package/dist/source/convert/jsontofiles.js +61 -64
- package/dist/source/convert/jsontofiles.js.map +1 -1
- package/dist/source/convert/loadfiletojson.js +1 -2
- package/dist/source/convert/loadfiletojson.js.map +1 -1
- package/dist/source/convert/steedosPackageJson.js +1 -2
- package/dist/source/convert/steedosPackageJson.js.map +1 -1
- package/dist/source/deploy/index.js +1 -2
- package/dist/source/deploy/index.js.map +1 -1
- package/dist/source/retrieve/index.js +1 -2
- package/dist/source/retrieve/index.js.map +1 -1
- package/dist/start/hotReload.js.map +1 -1
- package/dist/start/index.js.map +1 -1
- package/dist/util/index.js +5 -6
- package/dist/util/index.js.map +1 -1
- package/dist/util/load_file.js +1 -2
- package/dist/util/load_file.js.map +1 -1
- package/dist/util/parse_type.js +8 -9
- package/dist/util/parse_type.js.map +1 -1
- package/dist/util/rm_dir.js +1 -2
- package/dist/util/rm_dir.js.map +1 -1
- package/dist/util/split_to_list.js +1 -2
- package/dist/util/split_to_list.js.map +1 -1
- package/package.json +5 -9
- package/oclif.manifest.json +0 -1
package/dist/util/index.js
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.getBaseDirectory = getBaseDirectory;
|
|
4
|
+
exports.isObject = isObject;
|
|
5
|
+
exports.isFunction = isFunction;
|
|
6
|
+
exports.isPlainObject = isPlainObject;
|
|
7
|
+
exports.isJsonMap = isJsonMap;
|
|
4
8
|
function getBaseDirectory() {
|
|
5
9
|
let cwd = process.cwd();
|
|
6
10
|
if (cwd.indexOf('.meteor') > -1) {
|
|
@@ -8,15 +12,12 @@ function getBaseDirectory() {
|
|
|
8
12
|
}
|
|
9
13
|
return cwd;
|
|
10
14
|
}
|
|
11
|
-
exports.getBaseDirectory = getBaseDirectory;
|
|
12
15
|
function isObject(value) {
|
|
13
16
|
return value != null && (typeof value === 'object' || typeof value === 'function');
|
|
14
17
|
}
|
|
15
|
-
exports.isObject = isObject;
|
|
16
18
|
function isFunction(value) {
|
|
17
19
|
return typeof value === 'function';
|
|
18
20
|
}
|
|
19
|
-
exports.isFunction = isFunction;
|
|
20
21
|
function isPlainObject(value) {
|
|
21
22
|
const isObjectObject = (o) => isObject(o) && Object.prototype.toString.call(o) === '[object Object]';
|
|
22
23
|
if (!isObjectObject(value))
|
|
@@ -30,9 +31,7 @@ function isPlainObject(value) {
|
|
|
30
31
|
return false;
|
|
31
32
|
return true;
|
|
32
33
|
}
|
|
33
|
-
exports.isPlainObject = isPlainObject;
|
|
34
34
|
function isJsonMap(value) {
|
|
35
35
|
return isPlainObject(value);
|
|
36
36
|
}
|
|
37
|
-
exports.isJsonMap = isJsonMap;
|
|
38
37
|
//# sourceMappingURL=index.js.map
|
package/dist/util/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/util/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3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AAS,CAAC,KAAK;IAC3B,OAAO,aAAa,CAAC,KAAK,CAAC,CAAC;AAChC,CAAC"}
|
package/dist/util/load_file.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.loadFile =
|
|
3
|
+
exports.loadFile = loadFile;
|
|
4
4
|
const fs = require('fs');
|
|
5
5
|
const yaml = require('js-yaml');
|
|
6
6
|
const clone = require('clone');
|
|
@@ -21,6 +21,5 @@ function loadFile(filePath) {
|
|
|
21
21
|
}
|
|
22
22
|
return json;
|
|
23
23
|
}
|
|
24
|
-
exports.loadFile = loadFile;
|
|
25
24
|
;
|
|
26
25
|
//# sourceMappingURL=load_file.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"load_file.js","sourceRoot":"","sources":["../../src/util/load_file.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"load_file.js","sourceRoot":"","sources":["../../src/util/load_file.ts"],"names":[],"mappings":";;AAKA,4BAcC;AAnBD,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;AACzB,MAAM,IAAI,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;AAChC,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;AAC/B,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;AAE7B,SAAgB,QAAQ,CAAC,QAAQ;IAC7B,IAAI,IAAI,GAAG,EAAE,CAAA;IACb,IAAI,CAAC;QACD,IAAI,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QACrC,IAAG,OAAO,CAAC,iBAAiB,EAAE,KAAK,OAAO;YACtC,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;aACrE,IAAG,OAAO,CAAC,iBAAiB,EAAE,KAAI,MAAM;YACzC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC;aACnD,IAAG,OAAO,CAAC,iBAAiB,EAAE,KAAK,KAAK;YACzC,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;IACxC,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACb,OAAO,CAAC,KAAK,CAAC,gBAAgB,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;IACrD,CAAC;IACD,OAAO,IAAI,CAAC;AAChB,CAAC;AAAA,CAAC"}
|
package/dist/util/parse_type.js
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.getAllTypesForHelp = getAllTypesForHelp;
|
|
4
|
+
exports.getAllTypes = getAllTypes;
|
|
5
|
+
exports.getObjectProperties = getObjectProperties;
|
|
6
|
+
exports.getOtherTypes = getOtherTypes;
|
|
7
|
+
exports.isObjectProperty = isObjectProperty;
|
|
8
|
+
exports.isOtherTypes = isOtherTypes;
|
|
9
|
+
exports.fileName2FolderName = fileName2FolderName;
|
|
10
|
+
exports.folderName2FileName = folderName2FileName;
|
|
4
11
|
const _ = require('underscore');
|
|
5
12
|
const types = [
|
|
6
13
|
{
|
|
@@ -68,19 +75,15 @@ function getAllTypesForHelp() {
|
|
|
68
75
|
}
|
|
69
76
|
return res;
|
|
70
77
|
}
|
|
71
|
-
exports.getAllTypesForHelp = getAllTypesForHelp;
|
|
72
78
|
function getAllTypes() {
|
|
73
79
|
return _.pluck(types, "filename");
|
|
74
80
|
}
|
|
75
|
-
exports.getAllTypes = getAllTypes;
|
|
76
81
|
function getObjectProperties() {
|
|
77
82
|
return _.pluck(_.where(types, { is_object_property: true }), "filename");
|
|
78
83
|
}
|
|
79
|
-
exports.getObjectProperties = getObjectProperties;
|
|
80
84
|
function getOtherTypes() {
|
|
81
85
|
return _.pluck(_.where(types, { is_object_property: false }), "filename");
|
|
82
86
|
}
|
|
83
|
-
exports.getOtherTypes = getOtherTypes;
|
|
84
87
|
function isObjectProperty(input) {
|
|
85
88
|
var objectProperties = _.pluck(_.where(types, { is_object_property: true }), "filename");
|
|
86
89
|
if (objectProperties.indexOf(input) != -1) {
|
|
@@ -92,7 +95,6 @@ function isObjectProperty(input) {
|
|
|
92
95
|
}
|
|
93
96
|
return false;
|
|
94
97
|
}
|
|
95
|
-
exports.isObjectProperty = isObjectProperty;
|
|
96
98
|
function isOtherTypes(input) {
|
|
97
99
|
var otherTypes = _.pluck(_.where(types, { is_object_property: false }), "filename");
|
|
98
100
|
if (otherTypes.indexOf(input) != -1) {
|
|
@@ -104,15 +106,12 @@ function isOtherTypes(input) {
|
|
|
104
106
|
}
|
|
105
107
|
return false;
|
|
106
108
|
}
|
|
107
|
-
exports.isOtherTypes = isOtherTypes;
|
|
108
109
|
function fileName2FolderName(input) {
|
|
109
110
|
return doParse(input, "filename", "foldername");
|
|
110
111
|
}
|
|
111
|
-
exports.fileName2FolderName = fileName2FolderName;
|
|
112
112
|
function folderName2FileName(input) {
|
|
113
113
|
return doParse(input, "foldername", "filename");
|
|
114
114
|
}
|
|
115
|
-
exports.folderName2FileName = folderName2FileName;
|
|
116
115
|
function doParse(input, inputType, outputType) {
|
|
117
116
|
for (var i = 0; i < types.length; i++) {
|
|
118
117
|
var item = types[i];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse_type.js","sourceRoot":"","sources":["../../src/util/parse_type.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"parse_type.js","sourceRoot":"","sources":["../../src/util/parse_type.ts"],"names":[],"mappings":";;AA4DA,gDASC;AAED,kCAGC;AAED,kDAGC;AAED,sCAGC;AAED,4CAaC;AAED,oCAaC;AAED,kD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CAAC,CAAC;QAC5B,CAAC;IACL,CAAC;IAED,OAAO,IAAI,CAAA;AACf,CAAC"}
|
package/dist/util/rm_dir.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.deleteFolderRecursive =
|
|
3
|
+
exports.deleteFolderRecursive = deleteFolderRecursive;
|
|
4
4
|
const fs = require('fs');
|
|
5
5
|
function deleteFolderRecursive(path) {
|
|
6
6
|
if (fs.existsSync(path)) {
|
|
@@ -16,5 +16,4 @@ function deleteFolderRecursive(path) {
|
|
|
16
16
|
fs.rmdirSync(path);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
exports.deleteFolderRecursive = deleteFolderRecursive;
|
|
20
19
|
//# sourceMappingURL=rm_dir.js.map
|
package/dist/util/rm_dir.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rm_dir.js","sourceRoot":"","sources":["../../src/util/rm_dir.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"rm_dir.js","sourceRoot":"","sources":["../../src/util/rm_dir.ts"],"names":[],"mappings":";;AACA,sDAYC;AAbD,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;AACzB,SAAgB,qBAAqB,CAAC,IAAI;IACtC,IAAI,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,EAAG,CAAC;QACvB,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,UAAS,IAAI;YACtC,IAAI,OAAO,GAAG,IAAI,GAAG,GAAG,GAAG,IAAI,CAAC;YAChC,IAAG,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC;gBACpC,qBAAqB,CAAC,OAAO,CAAC,CAAC;YACnC,CAAC;iBAAM,CAAC;gBACJ,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;YAC3B,CAAC;QACL,CAAC,CAAC,CAAC;QACH,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACvB,CAAC;AACL,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.splitToList =
|
|
3
|
+
exports.splitToList = splitToList;
|
|
4
4
|
const _ = require("underscore");
|
|
5
5
|
function splitToList(input) {
|
|
6
6
|
var output;
|
|
@@ -15,5 +15,4 @@ function splitToList(input) {
|
|
|
15
15
|
}
|
|
16
16
|
return output;
|
|
17
17
|
}
|
|
18
|
-
exports.splitToList = splitToList;
|
|
19
18
|
//# sourceMappingURL=split_to_list.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"split_to_list.js","sourceRoot":"","sources":["../../src/util/split_to_list.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"split_to_list.js","sourceRoot":"","sources":["../../src/util/split_to_list.ts"],"names":[],"mappings":";;AAEA,kCAUC;AAZD,MAAM,CAAC,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;AAEhC,SAAgB,WAAW,CAAC,KAAY;IACpC,IAAI,MAAM,CAAC;IACX,IAAG,CAAC,KAAK,EAAC,CAAC;QACP,MAAM,GAAG,EAAE,CAAC;IAChB,CAAC;SAAK,IAAG,CAAC,CAAC,QAAQ,CAAC,KAAK,EAAE,GAAG,CAAC,EAAC,CAAC;QAC7B,MAAM,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;SAAI,CAAC;QACF,MAAM,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IACD,OAAO,MAAM,CAAC;AAClB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "steedos-cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-beta.7",
|
|
4
4
|
"description": "Develop and run your enterprise apps in miniutes",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"postpack": "rimraf oclif.manifest.json",
|
|
8
|
-
"posttest": "eslint .",
|
|
9
|
-
"prepack": "oclif-dev manifest && oclif-dev readme",
|
|
10
|
-
"test": "nyc mocha --forbid-only \"test/**/*.test.js\"",
|
|
11
|
-
"version-disabled": "oclif-dev readme && git add README.md",
|
|
12
7
|
"build": "rm -rf dist && tsc",
|
|
13
8
|
"pub_next": "npm publish --tag next --registry https://registry.npmjs.org && start https://npm.taobao.org/sync/@steedos/steedos-cli"
|
|
14
9
|
},
|
|
@@ -38,8 +33,8 @@
|
|
|
38
33
|
"@oclif/command": "^1.8.16",
|
|
39
34
|
"@oclif/config": "^1.8.3",
|
|
40
35
|
"@oclif/plugin-help": "^5.1.12",
|
|
41
|
-
"@steedos/metadata-core": "
|
|
42
|
-
"@steedos/metadata-registrar": "
|
|
36
|
+
"@steedos/metadata-core": "3.0.0-beta.7",
|
|
37
|
+
"@steedos/metadata-registrar": "3.0.0-beta.7",
|
|
43
38
|
"archiver": "^5.0.2",
|
|
44
39
|
"chalk": "2.4.2",
|
|
45
40
|
"change-case": "^3.1.0",
|
|
@@ -61,6 +56,7 @@
|
|
|
61
56
|
"request": "^2.88.2",
|
|
62
57
|
"request-promise": "^4.2.5",
|
|
63
58
|
"rimraf": "3.0.2",
|
|
59
|
+
"ts-node": "10.9.2",
|
|
64
60
|
"underscore": "^1.11.0",
|
|
65
61
|
"validator": "^13.5.2",
|
|
66
62
|
"yargs": "^13.2.1",
|
|
@@ -81,5 +77,5 @@
|
|
|
81
77
|
"publishConfig": {
|
|
82
78
|
"access": "public"
|
|
83
79
|
},
|
|
84
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "b68a33d2fa33b380aa7ec401b63315886f7de861"
|
|
85
81
|
}
|
package/oclif.manifest.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":"2.7.27-beta.6","commands":{"i18n":{"id":"i18n","description":"sync i18n resources","pluginName":"steedos-cli","pluginType":"core","aliases":[],"flags":{"serverDir":{"name":"serverDir","type":"option","char":"s","description":"Steedos Server Dir"},"packageDir":{"name":"packageDir","type":"option","char":"p","description":"Steedos Package Dir"}},"args":[{"name":"name","description":"language","required":true}]},"start":{"id":"start","description":"run steedos projects","pluginName":"steedos-cli","pluginType":"core","aliases":[],"flags":{"repl":{"name":"repl","type":"boolean","char":"r","description":"If true, it switches to REPL mode after broker started.","allowNo":false},"silent":{"name":"silent","type":"boolean","char":"s","description":"Disable the broker logger. It prints nothing to the console.","allowNo":false},"hot":{"name":"hot","type":"boolean","char":"h","description":"Hot reload services when they change.","allowNo":false},"config":{"name":"config","type":"option","char":"c","description":"Load configuration file from a different path or a different filename.","default":"steedos.config.js"},"env":{"name":"env","type":"boolean","char":"e","description":"Load environment variables from the ‘.env’ file from the current folder.","allowNo":false},"envfile":{"name":"envfile","type":"option","char":"E","description":"Load environment variables from the specified file."},"instances":{"name":"instances","type":"option","char":"i","description":"Launch [number] node instances or max for all cpu cores (with cluster module)"}},"args":[{"name":"servicePaths","description":"service files or directories or glob masks","required":false,"default":""}]},"auth:login":{"id":"auth:login","pluginName":"steedos-cli","pluginType":"core","aliases":[],"flags":{"username":{"name":"username","type":"option","char":"u","description":"user"},"password":{"name":"password","type":"option","char":"p","description":"password"}},"args":[]},"data:export":{"id":"data:export","pluginName":"steedos-cli","pluginType":"core","aliases":[],"flags":{"objectName":{"name":"objectName","type":"option","char":"o","description":"objectName","required":true},"ids":{"name":"ids","type":"option","char":"i","description":"ids"},"fields":{"name":"fields","type":"option","char":"f","description":"fields"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"Directory to store generated files."},"prefix":{"name":"prefix","type":"option","char":"x","description":"Prefix of generated files."},"plan":{"name":"plan","type":"boolean","char":"p","description":"Generates multiple sObject tree files and a plan definition file for aggregated import.","allowNo":false}},"args":[]},"data:import":{"id":"data:import","pluginName":"steedos-cli","pluginType":"core","aliases":[],"flags":{"sobjectfiles":{"name":"sobjectfiles","type":"option","char":"f","description":"Paths of JSON files containing a collection of record to insert. Either --sobjecttreefiles or --plan is required."},"plan":{"name":"plan","type":"option","char":"p","description":"Path to plan to insert multiple data files that have master-detail relationships. Either --sobjecttreefiles or --plan is required."}},"args":[]},"package:build":{"id":"package:build","pluginName":"steedos-cli","pluginType":"core","aliases":[],"flags":{"appPath":{"name":"appPath","type":"option","char":"p","description":"appPath","required":true},"packageName":{"name":"packageName","type":"option","char":"n","description":"package name"},"loglevel":{"name":"loglevel","type":"option","char":"l","description":"(debug|info|warn) [default: warn] logging level for this command invocation"}},"args":[]},"package:start":{"id":"package:start","description":"run steedos packages","pluginName":"steedos-cli","pluginType":"core","aliases":[],"flags":{"repl":{"name":"repl","type":"boolean","char":"r","description":"If true, it switches to REPL mode after broker started.","allowNo":false},"silent":{"name":"silent","type":"boolean","char":"s","description":"Disable the broker logger. It prints nothing to the console.","allowNo":false},"hot":{"name":"hot","type":"boolean","char":"h","description":"Hot reload services when they change.","allowNo":false},"config":{"name":"config","type":"option","char":"c","description":"Load configuration file from a different path or a different filename.","default":"steedos.config.js"},"env":{"name":"env","type":"boolean","char":"e","description":"Load environment variables from the ‘.env’ file from the current folder.","allowNo":false},"envfile":{"name":"envfile","type":"option","char":"E","description":"Load environment variables from the specified file."},"instances":{"name":"instances","type":"option","char":"i","description":"Launch [number] node instances or max for all cpu cores (with cluster module)"}},"args":[{"name":"servicePaths","description":"service files or directories or glob masks","required":false,"default":""}]},"source:config":{"id":"source:config","pluginName":"steedos-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"source:convert":{"id":"source:convert","pluginName":"steedos-cli","pluginType":"core","aliases":[],"flags":{"oldFilesPath":{"name":"oldFilesPath","type":"option","char":"o","description":"oldFilesPath","required":true},"targetPath":{"name":"targetPath","type":"option","char":"t","description":"targetPath","required":true}},"args":[]},"source:delete":{"id":"source:delete","pluginName":"steedos-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"source:deploy":{"id":"source:deploy","description":" Use this command to deploy source (metadata that’s in source format)\nTo deploy metadata that’s in metadata format, use \"steedos source:deploy\".\n\nThe source you deploy overwrites the corresponding metadata on the server. This command does not attempt to merge your source with the versions on the server.\n\nExamples:\n\nTo deploy the source files in a directory:\n $ steedos source:deploy -p path/to/source\nTo deploy a specific custom object and the objects whose source is in a directory:\n $ steedos source:deploy -p \"path/to/custom/objects/myObject.object.yml\"\nor\"\n $ steedos source:deploy -p \"path/to/source/objects/my_object\"\n\n","pluginName":"steedos-cli","pluginType":"core","aliases":[],"flags":{"sourcePath":{"name":"sourcePath","type":"option","char":"p","description":"Submit the local file under the path to the server"}},"args":[]},"source:retrieve":{"id":"source:retrieve","description":"Use this command to retrieve source (metadata that’s in source format)\nTo retrieve metadata that’s in metadata format, use \"steedos source:retrieve\".\n\nThe source you retrieve overwrites the corresponding source files in your local project. This command does not attempt to merge the source from your org with your local source files.\n\nExamples:\n\nTo retrieve the source files in a directory:\n $ steedos source:retrieve -p path/to/source\nTo retrieve a specific Custom object and the objects whose source is in a directory:\n $ steedos source:retrieve -p \"path/to/custom/objects/myObject.object.yml\"\nor\n $ steedos source:retrieve -p \"path/to/source/objects/my_object\"\nTo retrieve all Custom objects:\n $ steedos source:retrieve -m CustomObject\nTo retrieve a specific Custom object:\n $ steedos source:retrieve -m CustomObject:myObject\n\nTo retrieve all metadata components listed in a manifest:\n $ steedos source:retrieve -y path/to/package.yml\n\n\nMetaDataList:\n[\"ApprovalProcess\",\"Chart\",\"CustomAction\",\"CustomApplication\",\"CustomField\",\"CustomListview\",\"CustomObject\",\"CustomPermission\",\"CustomPermissionset\",\"CustomProfile\",\"CustomReport\",\"CustomValidationRule\",\"Dashboard\",\"Flow\",\"FlowRole\",\"FunctionYML\",\"Import\",\"Layout\",\"Page\",\"Print\",\"Process\",\"Query\",\"Question\",\"RestrictionRule\",\"Role\",\"ShareRule\",\"Tab\",\"Trigger\",\"Workflow\"]\n","pluginName":"steedos-cli","pluginType":"core","aliases":[],"flags":{"serverDir":{"name":"serverDir","type":"option","char":"p","description":"generate request according to the path and update it"},"manifest":{"name":"manifest","type":"option","char":"y","description":"file path for manifest (package.yml) of components to deploy"},"metadata":{"name":"metadata","type":"option","char":"m","description":"metadata"}},"args":[]}}}
|