Workspace commands (hws)latest · 0.1.2
hws package list
List the packages you can see.
hws package list [--search <text>] [--type <type>] [--mine] [--json]Also available as horizech hws package list.
Signed out, you see public packages. Signed in, you also see private packages of organizations you belong to. Shows up to 200 packages, sorted by code, with the latest version in each channel.
Options
| Option | Description | Default |
|---|---|---|
--search <text> | Match against the package name, code, organization name, category and type. | |
--type <type> | core, application, plugin or provider. | |
--mine | Only packages of organizations you belong to, drafts included. Needs sign-in. | |
--json | Print the registry's response envelope as-is. |
Examples
Find providers
$ hws package list --search providerYour organizations' packages
$ hws package list --mineOutput
output
CODE ORG TYPE VISIBILITY DEV BETA STABLE HWS_PROVIDER_ARCHIVE horizech PROVIDER PUBLIC 0.0.2 - - HWS_PROVIDER_AUTHENTICATION horizech PROVIDER PUBLIC 0.0.30 - -
API calls
What this command calls, for debugging and for anyone scripting the same thing. Registry paths are on https://api.horizech.com, OAuth2 paths on https://horizech.com. See Registry API.
| Method | Path | Notes |
|---|---|---|
GET | /api/v1/packages | search, type, showMyPackagesOnly, includeDraft, limit |