Big News!  Tilt is joining Docker

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.

The “args” can be used to specify what resources Tilt enables. They can also be used to define custom key-value pairs that can be accessed in a Tiltfile by calling “config.parse()”.

If no args are explicitly specified, (i.e., just “tilt args”), it 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.

Note that Tiltfile arguments do not affect built-in Tilt args (i.e., the things that show up in “tilt up –help”, such as “–legacy”, “–port”), and they are defined after built-in args, following a “–”.

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

Examples

# Set new args
tilt args frontend_service backend_service -- --debug on

# Edit the current args
tilt args

# Use an alternative editor
EDITOR=nano tilt 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 26-Apr-2024