@sap/cli-core 2023.19.0 → 2023.22.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.
Files changed (2) hide show
  1. package/dwc/dwc.js +5 -2
  2. package/package.json +2 -2
package/dwc/dwc.js CHANGED
@@ -118,8 +118,11 @@ const init = async () => {
118
118
  program = (0, commands_1.createCommand)();
119
119
  program.version((0, core_1.getVersion)(), "-v, --version", "output the current version");
120
120
  program.description((0, config_1.get)()[constants_1.CLI_DESCRIPTION]);
121
- program.showHelpAfterError(`Did you initialize the CLI by running ${(0, config_1.get)()[constants_1.CLI_NAME]} config cache init --host "<Server_URL>"?` +
122
- ` Add --help, -h or go to ${(0, config_1.get)()[constants_1.CLI_SAP_HELP]} for additional information.`);
121
+ const cliName = (0, config_1.get)()[constants_1.CLI_NAME];
122
+ program.showHelpAfterError(`Make sure to always define the host using the --host option or by running ${cliName}` +
123
+ ` config host set "<Server_URL>". Did you initialize the CLI by running ${cliName} config` +
124
+ ` cache init --host "<Server_URL>"?` +
125
+ ` Add option --help, -h or go to ${(0, config_1.get)()[constants_1.CLI_SAP_HELP]} for additional information.`);
123
126
  program.addOption(await (0, commands_1.buildOption)(constants_1.OPTION_HOST));
124
127
  program.addOption(await (0, commands_1.buildOption)(constants_1.OPTION_OPTIONS_FILE));
125
128
  program.configureHelp({ sortSubcommands: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap/cli-core",
3
- "version": "2023.19.0",
3
+ "version": "2023.22.0",
4
4
  "description": "Command-Line Interface (CLI) Core Module",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "author": "SAP SE",
@@ -18,7 +18,7 @@
18
18
  ],
19
19
  "dependencies": {
20
20
  "ajv": "8.12.0",
21
- "axios": "1.4.0",
21
+ "axios": "1.5.0",
22
22
  "commander": "11.0.0",
23
23
  "config": "3.3.9",
24
24
  "dotenv": "16.3.1",