import {
  FragmentCommand,
  require_lib
} from "./chunk-XECLOG6B.js";
import {
  require_source
} from "./chunk-M5OAS5QZ.js";
import {
  __toESM,
  init_cjs_shims
} from "./chunk-7GH3YGSC.js";

// src/commands/init.ts
init_cjs_shims();
var import_core = __toESM(require_lib(), 1);
var import_chalk = __toESM(require_source(), 1);
var Init = class extends FragmentCommand {
  static {
    this.description = "Initialize an example chart of accounts locally";
  }
  static {
    this.examples = ["<%= config.bin %> <%= command.id %>"];
  }
  static {
    this.flags = {
      file: import_core.Flags.string({
        char: "f",
        description: "Path to write initial schema to",
        default: "fragment.jsonc",
        // TODO: Update to use DEFAULT_SCHEMA_PATH constant
        required: false
      })
    };
  }
  async run() {
    this.log(
      import_chalk.default.yellow(
        "Creating a schema from the CLI is no longer supported. Please go to https://dashboard.fragment.dev to create your Schema directly from the FRAGMENT Dashboard."
      )
    );
  }
};

export {
  Init
};
