@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/schemas.ts
init_cjs_shims();
var QuerySchemas = class extends AuthenticatedCommand {
static {
this.description = "List all schemas in your workspace";
}
static {
this.examples = ["<%= config.bin %> <%= command.id %>"];
}
async run() {
try {
await this.sdk.ListSchemas();
} catch (e) {
this.exit(1);
}
}
};
export {
QuerySchemas
};