Big News!  Tilt is joining Docker

Tilt CLI Reference

tilt snapshot view

Serves the specified snapshot file and optionally opens it in the browser

Synopsis

Serves the specified snapshot file and optionally opens it in the browser

tilt snapshot view <path/to/snapshot.json> [flags]

Examples


# Run tilt ci and save a snapshot
tilt ci --output-snapshot-on-exit=snapshot.json
# View that snapshot
tilt snapshot view snapshot.json

# Or pipe the snapshot to stdin and specify the snapshot as '-'
curl http://myci.com/path/to/snapshot | tilt snapshot view -

Options

  -h, --help          help for view
      --host string   Host for the HTTP server and default host for any port-forwards. Set to 0.0.0.0 to listen on all interfaces. Overrides TILT_HOST env variable. (default "localhost")
      --no-open       Do not automatically open the snapshot in the browser
      --port int      Port for the HTTP server. Defaults to a random port.

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

Auto generated by spf13/cobra on 29-Mar-2024