import {
  AuthenticatedCommand
} from "./chunk-G2JISDKX.js";
import {
  init_cjs_shims
} from "./chunk-7GH3YGSC.js";

// src/commands/workspace.ts
init_cjs_shims();
var Workspace = class extends AuthenticatedCommand {
  static {
    this.description = "Get the details of the workspace this CLI is authenticated to";
  }
  static {
    this.examples = ["<%= config.bin %> <%= command.id %>"];
  }
  static {
    this.help = "Get the details of the workspace this CLI is authenticated to";
  }
  async run() {
    try {
      await this.sdk.GetWorkspace();
    } catch (e) {
      this.logToStderr(`Encountered an error: ${e}`);
      this.exit(1);
    }
  }
};

export {
  Workspace
};
