/**
 * `olam worldspec` parent command — registers `validate`, `schema`, `init`
 * subcommands. v1 catalogue. Future subcommands (e.g., `olam worldspec
 * compile`) will register here.
 *
 * Co-exists with the existing `olam policy-check` subcommand (PR-time
 * `.md` policy enforcement). Decision #10: namespace separation, not
 * shared. Both surfaces remain after v1 ships.
 */
import { registerWorldspecCompile } from './compile.js';
import { registerWorldspecInit } from './init.js';
import { registerWorldspecSchema } from './schema.js';
import { registerWorldspecValidate } from './validate.js';
export function registerWorldspec(program) {
    const worldspec = program
        .command('worldspec')
        .description('Author + validate + compile .olam/worldspecs/*.yaml — declarative dev-environment contracts');
    registerWorldspecValidate(worldspec);
    registerWorldspecSchema(worldspec);
    registerWorldspecInit(worldspec);
    registerWorldspecCompile(worldspec);
}
//# sourceMappingURL=index.js.map