apify-cli 1.0.0-beta.14 → 1.0.0-beta.15

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.
@@ -11,7 +11,7 @@ Object.defineProperty(SecretsIndexCommand, "description", {
11
11
  writable: true,
12
12
  value: 'Manages secret values for Actor environment variables.\n\n'
13
13
  + 'Example:\n'
14
- + '$ apify secrets:add mySecret TopSecretValue123\n\n'
14
+ + '$ apify secrets add mySecret TopSecretValue123\n\n'
15
15
  + `Now the "mySecret" value can be used in an environment variable defined in "${LOCAL_CONFIG_PATH}" file by adding the "@" prefix:\n\n`
16
16
  + '{\n'
17
17
  + ' "actorSpecification": 1,\n'
@@ -24,7 +24,7 @@ const writeSecretsFile = (secrets) => {
24
24
  export const addSecret = (name, value) => {
25
25
  const secrets = getSecretsFile();
26
26
  if (secrets[name])
27
- throw new Error(`Secret with name ${name} already exists. Call "apify secrets:rm ${name}" to remove it.`);
27
+ throw new Error(`Secret with name ${name} already exists. Call "apify secrets rm ${name}" to remove it.`);
28
28
  if (!_.isString(name) || name.length > MAX_ENV_VAR_NAME_LENGTH) {
29
29
  throw new Error(`Secret name has to be string with maximum length ${MAX_ENV_VAR_NAME_LENGTH}.`);
30
30
  }
@@ -60,7 +60,7 @@ export const replaceSecretsValue = (env, secrets) => {
60
60
  updatedEnv[key] = secrets[secretKey];
61
61
  }
62
62
  else {
63
- warning(`Value for ${secretKey} not found in local secrets. Set it by calling "apify secrets:add ${secretKey} [SECRET_VALUE]"`);
63
+ warning(`Value for ${secretKey} not found in local secrets. Set it by calling "apify secrets add ${secretKey} [SECRET_VALUE]"`);
64
64
  }
65
65
  }
66
66
  else {
@@ -89,7 +89,7 @@ export const transformEnvToEnvVars = (env, secrets) => {
89
89
  });
90
90
  }
91
91
  else {
92
- warning(`Value for ${secretKey} not found in local secrets. Set it by calling "apify secrets:add ${secretKey} [SECRET_VALUE]"`);
92
+ warning(`Value for ${secretKey} not found in local secrets. Set it by calling "apify secrets add ${secretKey} [SECRET_VALUE]"`);
93
93
  }
94
94
  }
95
95
  else {
@@ -664,7 +664,7 @@
664
664
  "secrets": {
665
665
  "aliases": [],
666
666
  "args": {},
667
- "description": "Manages secret values for Actor environment variables.\n\nExample:\n$ apify secrets:add mySecret TopSecretValue123\n\nNow the \"mySecret\" value can be used in an environment variable defined in \".actor/actor.json\" file by adding the \"@\" prefix:\n\n{\n \"actorSpecification\": 1,\n \"name\": \"my_actor\",\n \"environmentVariables\": { \"SECRET_ENV_VAR\": \"@mySecret\" },\n \"version\": \"0.1\n}\n\nWhen the Actor is pushed to Apify cloud, the \"SECRET_ENV_VAR\" and its value is stored as a secret environment variable of the Actor.",
667
+ "description": "Manages secret values for Actor environment variables.\n\nExample:\n$ apify secrets add mySecret TopSecretValue123\n\nNow the \"mySecret\" value can be used in an environment variable defined in \".actor/actor.json\" file by adding the \"@\" prefix:\n\n{\n \"actorSpecification\": 1,\n \"name\": \"my_actor\",\n \"environmentVariables\": { \"SECRET_ENV_VAR\": \"@mySecret\" },\n \"version\": \"0.1\n}\n\nWhen the Actor is pushed to Apify cloud, the \"SECRET_ENV_VAR\" and its value is stored as a secret environment variable of the Actor.",
668
668
  "flags": {},
669
669
  "hasDynamicHelp": false,
670
670
  "hiddenAliases": [],
@@ -708,5 +708,5 @@
708
708
  ]
709
709
  }
710
710
  },
711
- "version": "1.0.0-beta.14"
711
+ "version": "1.0.0-beta.15"
712
712
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apify-cli",
3
- "version": "1.0.0-beta.14",
3
+ "version": "1.0.0-beta.15",
4
4
  "description": "Apify command-line interface (CLI) helps you manage the Apify cloud platform and develop, build, and deploy Apify Actors.",
5
5
  "exports": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -60,7 +60,7 @@
60
60
  "@apify/input_schema": "~3.5.15",
61
61
  "@apify/utilities": "~2.10.0",
62
62
  "@crawlee/memory-storage": "~3.8.1",
63
- "@oclif/core": "~3.23.0",
63
+ "@oclif/core": "~3.25.0",
64
64
  "@oclif/plugin-help": "~6.0.14",
65
65
  "@root/walk": "~1.1.0",
66
66
  "adm-zip": "~0.5.10",
@@ -138,7 +138,8 @@
138
138
  ],
139
139
  "additionalVersionFlags": [
140
140
  "-v"
141
- ]
141
+ ],
142
+ "topicSeparator": " "
142
143
  },
143
144
  "volta": {
144
145
  "node": "20.11.1",