terraform-workspace-i

command module
v0.0.0-...-3f2fb8f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2022 License: MIT Imports: 6 Imported by: 0

README

terraform-workspace-i

This is an interactive tool for switching Terraform workspaces. It's based on git branch-i, which does the same thing for Git branches.

Installation

Install it using Go, like so:

go install github.com/JoelOtter/terraform-workpace-i@latest

Ensure your Go directory is on your system path. You might want to alias this tool to something easier to type - I use tfw.

Usage

  • Workspaces can be navigated using the arrow keys, j and k, Pg Up/Down, or Ctrl+N and Ctrl+P.
  • Select a workspace with the return key.
  • Delete a workspace with the delete or backspace key, and use y/n to confirm.
  • Exit with Escape or Ctrl+C.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
ui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL