penguin storage.
API
@Component({
contributes: {
"ShippedCommandsModule.commands": [
{
id: "storage.cli",
key: "storage",
summary: {
en: "Show what the data root holds, and clean what can be regenerated",
zh: "查看数据根目录占用的空间,清理可以重新生成的内容",
} satisfies CliCommandSummary,
},
],
},
})
export class StorageCommand {
@Bind("storage.cli") command!: CliCommandCode<StorageMessages>;
setup();
}Dependencies & Wiring
Extracted from class decorators@Bindbinds (1)
command → storage.cli: CliCommandCode<StorageMessages>Contributes
{
"ShippedCommandsModule.commands": [
{
"id": "storage.cli",
"key": "storage",
"summary": {
"en": "Show what the data root holds, and clean what can be regenerated",
"zh": "查看数据根目录占用的空间,清理可以重新生成的内容"
}
}
]
}Target slots: ShippedCommandsModule.commands
Methods (1)
setup
setup()