basant307/AI_Governance_Project
045
1/**2 * @license3 * Copyright 2025 Qwen Team4 * SPDX-License-Identifier: Apache-2.05 */6 7import type { CommandModule, Argv } from 'yargs';8import { listCommand } from './sessions/list.js';9 10export const sessionsCommand: CommandModule = {11 command: 'sessions',12 describe: 'Manage Qwen Code sessions',13 builder: (yargs: Argv) =>14 yargs15 .command(listCommand)16 .demandCommand(1, 'You need at least one command before continuing.')17 .version(false),18 // demandCommand(1) ensures a subcommand is always required;19 // yargs automatically shows help when none is provided.20 handler: () => {},21};22 