ali5ter / tmcctx

Faster way to switch between contexts and management clusters in VMware Tanzu Mission Control CLI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tmctx + tmcmc + tmcp: Tools for VMware Tanzu Mission Control CLI

Inspired by kubectx, this repository provides tmctx, tmcmc and tmcp utilities.

tmctx helps you switch between VMware Tanzu Mission Control (TMC) CLI contexts.

tmcmc helps you switch between VMware Tanzu Mission Control (TMC) CLI management clusters.

tmcp helps you switch between VMware Tanzu Mission Control (TMC) CLI provisioners.

Note: If you have fzf installed, selection of context, management cluster and provisioners is made much easier!

Installing

  1. Make sure you have the tmc CLI installed.
  2. Clone this repository
  3. Put tmctx, tmcmc and tmcmp into your $PATH or move them, e.g.
ln -sf $PWD/tmctx /usr/local/bin/tmctx
ln -sf $PWD/tmcmc /usr/local/bin/tmcmc
ln -sf $PWD/tmcp /usr/local/bin/tmcp

Other Tanzu Mission Control CLI stuff

If you're using TMC CLI and want to be reminded of your context, management cluster and provisioner, take a look at my tmc-prompt.

If you're curious about the TMC CLI and looking for examples, take a look at my scripts I use to understand the usability and functionality of the TMC CLI.

Also, if you're at all interested in CLI taxonomy, check out cli_taxo.

About

Faster way to switch between contexts and management clusters in VMware Tanzu Mission Control CLI

License:MIT License


Languages

Language:Shell 100.0%