/**
 * @module commands/shopify
 * @description Command definitions for working with Shopify
 */

import { Command } from "commander";
import { createThemeCommand } from "./theme/index.js";

/**
 * Creates and configures the shopify command group
 *
 * @returns The configured shopify command with all subcommands
 *
 * @example
 * ```typescript
 * // Add the shopify command to a parent command
 * const program = new Command();
 * program.addCommand(createShopifyCommand());
 * ```
 */
export function createShopifyCommand(): Command {
  const command = new Command("shopify").description("Shopify commands");

  // Add theme command
  command.addCommand(createThemeCommand());

  // Here, you can add more Shopify-related commands in the future
  // For example:
  // command.addCommand(createStoreCommand());

  return command;
}
