#!/usr/bin/env bash

set -uo pipefail;

echo "Usage: tofuenv [<global options>] <command> [<options>]

Commands:
   install       Install a specific version of OpenTofu
   use           Switch an OpenTofu version to use
   uninstall     Uninstall a specific version of OpenTofu
   list          List all installed versions of OpenTofu
   list-remote   List all OpenTofu versions available for installation
   version-name  Print currently used version of OpenTofu
   init          Update PATH with 'tofuenv' executable path (for current session only)
   pin           Write the current active OpenTofu version to ./.opentofu-version
   help          Show this help output

Global options:
   --version     Print current version of tofuenv
   --help        Show this help output
";

exit 0;
