Tilt CLI Reference

tilt create ext

Register an extension.

Synopsis

Register an extension with a running Tilt instance.

An extension will load a set of services into your dev environment.

These might be services you need to run your app, or servers that add functionality to Tilt itself.

Assumes that an extension repo has already been registered with ‘tilt create repo’ or in the Tiltfile.

tilt create ext NAME [ARG...]

Examples


# Installs the extension from the extension repo 'default' under the path './cancel'.
tilt create ext cancel

# Installs the extension from the extension repo 'default' under
# and with custom argument '--namespaces=default' passed to the extension.
tilt create ext my-kubefwd --path=./kubefwd -- --namespaces=default

# Installs the extension from the extension repo 'dev' under the path './cancel'
tilt create ext cancel --repo=dev

Options

      --allow-missing-template-keys   If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. (default true)
  -h, --help                          help for ext
      --host string                   Host for the Tilt HTTP server. Only necessary if you started Tilt with --host. Overrides TILT_HOST env variable. (default "localhost")
  -o, --output string                 Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file.
      --path string                   The path of the extension. If not specified, defaults to the extension name.
      --port int                      Port for the Tilt HTTP server. Only necessary if you started Tilt with --port. Overrides TILT_PORT env variable. (default 10350)
      --repo string                   The name of the extension repo (list existing repos with 'tilt get repo') (default "default")
      --show-managed-fields           If true, keep the managedFields when printing objects in JSON or YAML format.
      --template string               Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].

Options inherited from parent commands

  -d, --debug                          Enable debug logging
      --klog int                       Enable Kubernetes API logging. Uses klog v-levels (0-4 are debug logs, 5-9 are tracing logs)
      --log-flush-frequency duration   Maximum number of seconds between log flushes (default 5s)
  -v, --verbose                        Enable verbose logging

SEE ALSO

  • tilt create - Create a resource from a file or from stdin.
Auto generated by spf13/cobra on 22-Oct-2021
 
 
 

Was this doc helpful?

Back to top