Agent Skills: Add gemini skills CLI management command (#15837)

This commit is contained in:
N. Taylor Mullen
2026-01-04 20:40:21 -08:00
committed by GitHub
parent dd84c2fb83
commit d3563e2f0e
10 changed files with 650 additions and 0 deletions
+5
View File
@@ -9,6 +9,7 @@ import { hideBin } from 'yargs/helpers';
import process from 'node:process';
import { mcpCommand } from '../commands/mcp.js';
import { extensionsCommand } from '../commands/extensions.js';
import { skillsCommand } from '../commands/skills.js';
import { hooksCommand } from '../commands/hooks.js';
import {
Config,
@@ -285,6 +286,10 @@ export async function parseArguments(settings: Settings): Promise<CliArgs> {
yargsInstance.command(extensionsCommand);
}
if (settings?.experimental?.skills ?? false) {
yargsInstance.command(skillsCommand);
}
// Register hooks command if hooks are enabled
if (settings?.tools?.enableHooks) {
yargsInstance.command(hooksCommand);