@tdk-landscape/tdk-cli-core 1.3.113 → 1.3.114
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/cli/dist/commands/status.js +4 -1
- package/cli/package.json +1 -1
- package/package.json +1 -1
|
@@ -87,6 +87,7 @@ export const statusCommand = new Command("status")
|
|
|
87
87
|
resources: tiltResources,
|
|
88
88
|
readiness,
|
|
89
89
|
},
|
|
90
|
+
resourceCount: discovery.resources.length,
|
|
90
91
|
resources: discovery.resources.map((resource) => ({
|
|
91
92
|
name: resource.name,
|
|
92
93
|
stack: resource.stack ?? null,
|
|
@@ -98,7 +99,9 @@ export const statusCommand = new Command("status")
|
|
|
98
99
|
stacks: discovery.stacks.map((stack) => ({
|
|
99
100
|
name: stack.name,
|
|
100
101
|
resourceCount: stack.resourceCount,
|
|
102
|
+
resources: stack.resources.map((resource) => resource.name),
|
|
101
103
|
})),
|
|
104
|
+
unassignedResources: discovery.unassignedResources.map((resource) => resource.name),
|
|
102
105
|
};
|
|
103
106
|
console.log(JSON.stringify(createMachineEnvelope(data, errors)));
|
|
104
107
|
if (errors.length > 0) {
|
|
@@ -144,7 +147,7 @@ export const statusCommand = new Command("status")
|
|
|
144
147
|
}
|
|
145
148
|
}
|
|
146
149
|
console.log();
|
|
147
|
-
showDetail('Run "tdk
|
|
150
|
+
showDetail('Run "tdk stacks" to see all stacks.');
|
|
148
151
|
showDetail('Run "tdk up <stack-name>" to start a stack.');
|
|
149
152
|
};
|
|
150
153
|
if (options.json) {
|
package/cli/package.json
CHANGED