mirror of
https://github.com/stablyai/orca.git
synced 2026-11-01 01:27:35 +00:00
cli: add orca plugin create, validate and inspect (#36280)
* cli: add orca plugin create, validate and inspect * build: ship orca plugin validate's main checks as a CLI main entry
This commit is contained in:
@@ -155,8 +155,14 @@ worker, and the plugin's logs to see what it printed.
|
||||
|
||||
```sh
|
||||
pnpm validate:plugin path/to/plugin
|
||||
# or, without an Orca checkout:
|
||||
orca plugin validate path/to/plugin
|
||||
```
|
||||
|
||||
`orca plugin create <dir> --template <theme|terminal-theme|icon-theme|syntax|language-pack|editor|panel>`
|
||||
scaffolds a plugin that passes these checks, and `orca plugin inspect <dir>` shows what it would be
|
||||
allowed to do and its content hash.
|
||||
|
||||
This runs the manifest checks Orca runs, strictly: unknown keys, limits, contributions beyond the
|
||||
execution profile, and an `engines.orca` too low for the fields used. On a catalog it also
|
||||
checks that listed images exist and fit. It warns when the manifest still declares the deprecated
|
||||
|
||||
Reference in New Issue
Block a user