mesmer util

Useful utilities.

mesmer util env

This will print whatever values the CLI gathers from its environment.

Passing --show-tokens will include auth tokens in the output.

$ mesmer util env
Interactive .............. true
Tenant ID ................ some-tenant.mesmerhq.com
Project ID ............... xxxxxxxxxxxxxxxxxxxxxxxx
Auth Token ............... [hidden]
Config Directory ......... /home/yourusername/.config/mesmer
Auth Config Location ..... /home/yourusername/.config/mesmer/auth.yml
Project Config Location .. /home/yourusername/Dev/mesmer-cli/.mesmer.yml

mesmer util completions

This command will generate tab-completions for your shell of choice.

Right now, we support:

  • Bash
  • Fish
  • PowerShell
# Install bash completions in the current session
$ source <(mesmer util completions)

# Install completions more permanently
# (This is probably not the most idiomatic way to do it. Consult your dotfiles.)
$ mesmer util completions >~/.mesmer-bash-completions.bash
$ echo "source ~/.mesmer-bash-completions.bash" >> ~/.bashrc

# Generate completions for powershell
$ mesmer util completions powershell >mesmer-completions.ps1