@solongate/proxy 0.7.0 → 0.8.1
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/dist/create.js +3 -3
- package/dist/index.js +810 -333
- package/dist/init.js +9 -14
- package/package.json +1 -1
package/dist/create.js
CHANGED
|
@@ -68,7 +68,7 @@ function parseCreateArgs(argv) {
|
|
|
68
68
|
const args = argv.slice(2);
|
|
69
69
|
const opts = {
|
|
70
70
|
name: "",
|
|
71
|
-
policy: "
|
|
71
|
+
policy: "",
|
|
72
72
|
noInstall: false
|
|
73
73
|
};
|
|
74
74
|
for (let i = 0; i < args.length; i++) {
|
|
@@ -111,13 +111,13 @@ USAGE
|
|
|
111
111
|
npx @solongate/proxy create <name> [options]
|
|
112
112
|
|
|
113
113
|
OPTIONS
|
|
114
|
-
--policy <
|
|
114
|
+
--policy <file> Policy JSON file (default: cloud-managed)
|
|
115
115
|
--no-install Skip dependency installation
|
|
116
116
|
-h, --help Show this help message
|
|
117
117
|
|
|
118
118
|
EXAMPLES
|
|
119
119
|
npx @solongate/proxy create my-server
|
|
120
|
-
npx @solongate/proxy create db-tools --policy
|
|
120
|
+
npx @solongate/proxy create db-tools --policy ./policy.json
|
|
121
121
|
`);
|
|
122
122
|
}
|
|
123
123
|
function createProject(dir, name, _policy) {
|