horizechCLI
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

OptionDescriptionDefault
--search <text>Match against the package name, code, organization name, category and type.
--type <type>core, application, plugin or provider.
--mineOnly packages of organizations you belong to, drafts included. Needs sign-in.
--jsonPrint the registry's response envelope as-is.

Examples

Find providers

$ hws package list --search provider

Your organizations' packages

$ hws package list --mine

Output

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.

MethodPathNotes
GET/api/v1/packagessearch, type, showMyPackagesOnly, includeDraft, limit