refactor(cli): move cache command under orchestrate subcommand

Cache is an orchestrator feature, so it belongs under `game-ci orchestrate cache`
rather than as a top-level `game-ci cache` command.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
frostebite
2026-03-09 22:17:12 +00:00
parent 39f885dcaf
commit 25dbf37f6b
5 changed files with 19 additions and 27 deletions

View File

@@ -24,9 +24,9 @@ const cacheCommand: CommandModule = {
description: 'Path to the Unity project',
default: '.',
})
.example('game-ci cache list', 'List all cached workspaces')
.example('game-ci cache restore --cache-dir ./my-cache', 'Restore a cached workspace')
.example('game-ci cache clear', 'Clear all cached workspaces');
.example('game-ci orchestrate cache list', 'List all cached workspaces')
.example('game-ci orchestrate cache restore --cache-dir ./my-cache', 'Restore a cached workspace')
.example('game-ci orchestrate cache clear', 'Clear all cached workspaces');
},
handler: async (cliArguments) => {
const action = cliArguments.action as string;