@joripspace/cli 0.8.0 → 0.9.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.
@@ -1,14 +1,14 @@
1
- 'use strict';
2
-
3
- function formatDeploymentFailure(message, details) {
4
- if (!details || typeof details !== 'object' || !details.deployment_id) return message;
5
- const lines = [message, `Deployment: ${details.deployment_id}`];
6
- if (details.error_stage) lines.push(`Stage: ${details.error_stage}`);
7
- if (details.error_code) lines.push(`Error code: ${details.error_code}`);
8
- if (details.error_details && details.error_details !== message) {
9
- lines.push(`Details: ${details.error_details}`);
10
- }
11
- return lines.join('\n');
12
- }
13
-
14
- module.exports = { formatDeploymentFailure };
1
+ 'use strict';
2
+
3
+ function formatDeploymentFailure(message, details) {
4
+ if (!details || typeof details !== 'object' || !details.deployment_id) return message;
5
+ const lines = [message, `Deployment: ${details.deployment_id}`];
6
+ if (details.error_stage) lines.push(`Stage: ${details.error_stage}`);
7
+ if (details.error_code) lines.push(`Error code: ${details.error_code}`);
8
+ if (details.error_details && details.error_details !== message) {
9
+ lines.push(`Details: ${details.error_details}`);
10
+ }
11
+ return lines.join('\n');
12
+ }
13
+
14
+ module.exports = { formatDeploymentFailure };
package/lib/help.js CHANGED
@@ -13,7 +13,7 @@ Usage:
13
13
  joripspace create --name NAME
14
14
  joripspace create --name NAME --agree-noncommercial --agree-billing --agree-retention --json
15
15
  joripspace link --project PROJECT --cwd PATH
16
- joripspace start PROJECT --cwd PATH --json
16
+ joripspace start PROJECT --cwd PATH [--guide-only] --json
17
17
  joripspace github prepare --project PROJECT --cwd PATH [--entrypoint worker.js]
18
18
  joripspace knowledge search --query "USER_REQUEST"
19
19
  joripspace realtime-v2 docs