Edit on GitHub

Tilt CLI Reference

tilt up

Start Tilt with the given Tiltfile args

Synopsis

Starts Tilt and runs services defined in the Tiltfile.

There are two types of args: 1) Tilt flags, listed below, which are handled entirely by Tilt. 2) Tiltfile args, which can be anything, and are potentially accessed by config.parse in your Tiltfile.

By default: 1) Tiltfile args are interpreted as the list of services to start, e.g. tilt up frontend backend. 2) Running with no Tiltfile args starts all services defined in the Tiltfile

This default behavior does not apply if the Tiltfile uses config.parse or config.set_enabled_resources. In that case, see https://tilt.dev/user_config.html and/or comments in your Tiltfile

tilt up [<tilt flags>] [-- <Tiltfile args>]

Options

      --file string                      Path to Tiltfile (default "Tiltfile")
  -h, --help                             help for up
      --host string                      Host for the Tilt HTTP server and default host for any port-forwards. Set to 0.0.0.0 to listen on all interfaces. (default "localhost")
      --hud                              If true, tilt will open in HUD mode. (default true)
      --no-browser                       If true, web UI will not open on startup.
      --output-snapshot-on-exit string   If specified, Tilt will dump a snapshot of its state to the specified path when it exits
      --port int                         Port for the Tilt HTTP server. Set to 0 to disable. (default 10350)
      --traceTags string                 tags to add to spans for easy querying, of the form: key1=val1,key2=val2
      --update-mode string               Control the strategy Tilt uses for updating instances. Possible values: [auto image naive synclet container exec] (default "auto")
      --watch                            If true, services will be automatically rebuilt and redeployed when files change. Otherwise, each service will be started once. (default true)
      --web-mode WebMode                 Values: local, prod. Controls whether to use prod assets or a local dev server (default default)
      --webdev-port int                  Port for the Tilt Dev Webpack server. Only applies when using --web-mode=local (default 46764)

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)
      --trace                          Enable tracing
      --traceBackend string            Which tracing backend to use. Valid values are: 'windmill', 'lightstep', 'jaeger' (default "windmill")
  -v, --verbose                        Enable verbose logging

SEE ALSO

  • tilt - Multi-service development with no stress
Auto generated by spf13/cobra on 1-Apr-2020
 
 
 

Was this doc helpful?