Files
HiveGrid-Wireframes/hivegrid-cloud/packages/cli/src/commands/feature-flags/index.ts
T

18 lines
607 B
TypeScript

import { defineCommand } from "citty";
import { featureFlagsListCommand } from "./list.js";
import { featureFlagsDisableCommand, featureFlagsEnableCommand } from "./toggle.js";
import { featureFlagsSetRulesCommand } from "./set-rules.js";
export const featureFlagsCommand = defineCommand({
meta: {
name: "feature-flags",
description: "Feature-flag operator commands (list, enable, disable, set-rules).",
},
subCommands: {
list: featureFlagsListCommand,
enable: featureFlagsEnableCommand,
disable: featureFlagsDisableCommand,
"set-rules": featureFlagsSetRulesCommand,
},
});