import {
  require_lib
} from "./chunk-LPEKLRLJ.js";
import {
  __toESM,
  init_cjs_shims
} from "./chunk-RRP6KXWN.js";

// src/commands/esbuild.ts
init_cjs_shims();
var import_core = __toESM(require_lib(), 1);
var ESBuild = class _ESBuild extends import_core.Command {
  static args = {
    optionalArg: import_core.Args.string(),
    defaultArg: import_core.Args.string({
      default: "simple string default"
    }),
    defaultFnArg: import_core.Args.string({
      default: async () => "async fn default"
    })
  };
  static enableJsonFlag = true;
  static flags = {
    optionalString: import_core.Flags.string(),
    defaultString: import_core.Flags.string({
      default: "simple string default"
    }),
    defaultFnString: import_core.Flags.string({
      default: async () => "async fn default"
    })
  };
  async run() {
    const { args, flags } = await this.parse(_ESBuild);
    this.log(`hello I am a bundled (esbuild) plugin from ${this.config.root}!`);
    return { args, flags };
  }
};

export {
  ESBuild
};
