CLI
pull
speakeasy pull
Pull a spec from the registry or list available specs/tags
Details
Section titled “Details”Pull a spec from the registry or list available specs/tags.
Examples:
List all available specs in your workspace
Section titled “List all available specs in your workspace”speakeasy pull —list speakeasy pull —list —format=json
List available tags for a specific spec
Section titled “List available tags for a specific spec”speakeasy pull —spec=my-api —list-tags speakeasy pull —spec=my-api —list-tags —format=json
Pull a spec to the current directory
Section titled “Pull a spec to the current directory”speakeasy pull —spec=my-api —revision=latest
Pull a specific revision to a custom directory
Section titled “Pull a specific revision to a custom directory”speakeasy pull —spec=my-api —revision=v1.0.0 —output-dir=./specs
speakeasy pull [flags]Options
Section titled “Options” --format string Output format for --list and --list-tags (table, json) (default "table") -h, --help help for pull --list List all available specs in your workspace (non-interactive) --list-tags List available tags for a spec (requires --spec) --output-dir string The directory to output the spec bundle to (default "/home/runner/work/speakeasy/speakeasy/speakeasy") --revision string The revision/tag to pull (default "latest") --spec string The name of the spec to pull or list tags forOptions inherited from parent commands
Section titled “Options inherited from parent commands” --logLevel string the log level (available options: [info, warn, error]) (default "info")Parent Command
Section titled “Parent Command”- speakeasy - The Speakeasy CLI tool provides access to the Speakeasy.com platform