@fragment-dev/cli
Version:
29 lines (26 loc) • 519 B
JavaScript
import {
AuthenticatedCommand
} from "./chunk-W7HG2VEH.js";
import {
init_cjs_shims
} from "./chunk-7GH3YGSC.js";
// src/commands/query/ledgers.ts
init_cjs_shims();
var QueryLedgers = class extends AuthenticatedCommand {
static {
this.description = "List all ledgers in your workspace";
}
static {
this.examples = ["<%= config.bin %> <%= command.id %>"];
}
async run() {
try {
await this.sdk.ListLedgers();
} catch (e) {
this.exit(1);
}
}
};
export {
QueryLedgers
};