feat(cli): add standalone downloads and installers (#528)

* feat(cli): add standalone downloads and installers

* fix(cli): silence PowerShell download progress

* fix(cli): use framework APIs for Windows verification

* fix(cli): preserve null backup path during Windows updates

* docs(cli): translate native installation quickstart into Chinese
This commit is contained in:
Yiling-J
2026-11-12 19:37:33 +08:00
committed by GitHub
parent 0325435125
commit 97c2939b5e
20 changed files with 1339 additions and 19 deletions
+2
View File
@@ -6,6 +6,7 @@ import { callOperation, type CallOperation } from './operations/call-operation'
import { cliExtensions } from './operations/extensions'
import { registerOperationCommands } from './operations/generate'
import type { Output } from './operations/render'
import { version } from '../package.json'
export interface ProgramOptions {
callOperation?: CallOperation
@@ -26,6 +27,7 @@ export function createProgram(options: ProgramOptions = {}): Command {
const program = new Command()
.name('shumai-cli')
.description('Command line interface for the Shumai media workspace.')
.version(version)
.option('--json', 'Print raw JSON output instead of human-friendly text')
.showHelpAfterError()
.showSuggestionAfterError()