import createDebug from 'debug'; import type { Arguments as ParentArguments } from '../cli.js'; import { Argv, YargsArguments } from '../util/yargs.js'; import * as commands from './pctl/index.js'; const debug = createDebug('cli:pctl'); export const command = 'pctl '; export const desc = 'Nintendo Switch Parental Controls'; export function builder(yargs: Argv) { for (const command of Object.values(commands)) { // @ts-expect-error yargs.command(command); } return yargs; } export type Arguments = YargsArguments>;