cli/

directory
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2025 License: MIT

README

Capabilities CLI tool

This tool was built for generating capability Go types from the JSON schema.

Conventions

  • Capability JSON schemas must be named using this pattern [capability_name]_[capability_type].json.
  • Generated types are placed next to the JSON schema and named using this pattern [capability_name]_[capability_type]_generated.go.

Running

All commands run from the root of the repo.

Help:

go run ./pkg/capabilities/cli/cmd/generate --help

Generate types:

go run ./pkg/capabilities/cli/cmd/generate-types

Directories

Path Synopsis
cmd
generate-types command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL