@enerlence/suntropy-cli 0.5.0 → 0.5.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.
- package/dist/bin/suntropy.js +2 -1
- package/dist/bin/suntropy.js.map +1 -1
- package/package.json +1 -1
package/dist/bin/suntropy.js
CHANGED
|
@@ -4207,9 +4207,10 @@ function registerShareableCommands(program2) {
|
|
|
4207
4207
|
}
|
|
4208
4208
|
|
|
4209
4209
|
// src/index.ts
|
|
4210
|
+
var CLI_VERSION = true ? "0.5.1" : "0.0.0-dev";
|
|
4210
4211
|
function createProgram() {
|
|
4211
4212
|
const program2 = new Command2();
|
|
4212
|
-
program2.name("suntropy").description("Agent-first CLI for Suntropy solar platform. Optimized for programmatic data manipulation and progressive exploration.").version(
|
|
4213
|
+
program2.name("suntropy").description("Agent-first CLI for Suntropy solar platform. Optimized for programmatic data manipulation and progressive exploration.").version(CLI_VERSION).option("--format <format>", "Output format: json (default), human, csv", "json").option("--fields <fields>", "Comma-separated fields to include in output").option("--server <url>", "Override API server URL").option("--token <jwt>", "Override authentication token").option("--profile <name>", "Use a specific config profile").option("--verbose", "Show HTTP request/response details on stderr").option("--quiet", "Suppress non-data output").option("--save <file>", "Save output to file (also writes to stdout)");
|
|
4213
4214
|
registerAuthCommands(program2);
|
|
4214
4215
|
registerConfigCommands(program2);
|
|
4215
4216
|
registerInventoryCommands(program2);
|