Tilt CLI Reference

tilt args

Changes the Tiltfile args in use by a running Tilt

Synopsis

Changes the Tiltfile args in use by a running Tilt. If no args are specified, (i.e., just “tilt args”), opens the current args for editing in the editor defined by your TILT_EDITOR or EDITOR environment variables, or fall back to an OS-appropriate default.

The editor can be skipped by providing new args on the command line, e.g.: “tilt args svc1 svc2”.

Edit the args

tilt args

Use an alternate editor

EDITOR=nano tilt args

skip the editor

note: “–” here indicates the end of the tilt args and the start of the tiltfile args

tilt args – –foo=bar frontend backend

Note that this does not affect built-in Tilt args (e.g. –hud, –host), but rather the extra args that come after, i.e., those specifying which resources to run and/or handled by a Tiltfile calling config.parse.

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

Options

      --clear         Clear the Tiltfile args, as if you'd run tilt with no args
  -h, --help          help for args
      --host string   Host for the Tilt HTTP server. Only necessary if you started Tilt with --host. Overrides TILT_HOST env variable. (default "localhost")
      --port int      Port for the Tilt HTTP server. Only necessary if you started Tilt with --port. Overrides TILT_PORT env variable. (default 10350)

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)
  -v, --verbose    Enable verbose logging

SEE ALSO

  • tilt - Multi-service development with no stress
Auto generated by spf13/cobra on 22-Jan-2022