@solongate/proxy 0.6.8 → 0.8.0

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 CHANGED
@@ -68,7 +68,7 @@ function parseCreateArgs(argv) {
68
68
  const args = argv.slice(2);
69
69
  const opts = {
70
70
  name: "",
71
- policy: "restricted",
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 <preset> Policy preset (default: restricted)
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 read-only
120
+ npx @solongate/proxy create db-tools --policy ./policy.json
121
121
  `);
122
122
  }
123
123
  function createProject(dir, name, _policy) {