From 958b232a74a38709889c9eecc7d6129924f4cedf Mon Sep 17 00:00:00 2001 From: Nikolai Mishin Date: Tue, 6 Aug 2024 01:49:12 +0200 Subject: [PATCH] Add interactive mode examle video to the Readme (#224) Signed-off-by: Nikolai Mishin --- README.md | 6 +----- docs/tenv.svg | 1 + 2 files changed, 2 insertions(+), 5 deletions(-) create mode 100644 docs/tenv.svg diff --git a/README.md b/README.md index a2ccd67b..258c303b 100644 --- a/README.md +++ b/README.md @@ -299,12 +299,8 @@ echo "source '~/.tenv.completion.fish'" >> ~/.zshrc | `at` (`atmos`) | [ATMOS_](#atmos-env-vars) | [Atmos](https://atmos.tools) | -
tenv
- Without subcommand `tenv` display interactive menus to manage tools and their versions. - -
- +![example interactive mode usage](./docs/tenv.svg)
tenv <tool> install [version]
diff --git a/docs/tenv.svg b/docs/tenv.svg new file mode 100644 index 00000000..00713a5b --- /dev/null +++ b/docs/tenv.svg @@ -0,0 +1 @@ +Thedefaultinteractiveshellisnowzsh.Toupdateyouraccounttousezsh,pleaserun`chsh-s/bin/zsh`.Formoredetails,pleasevisithttps://support.apple.com/kb/HT208050.nmishin@C11155:~$nmishin@C11155:~$#nmishin@C11155:~$#Acallwithoutasubcommandwillallowyoutochoosethetoolandtheninstalloruninstallanyversionofthattool.nmishin@C11155:~$tenvWhichtooldoyouwanttomanage?[]tofu[]terraform[]terragrunt[]atmos↑/kup↓/jdownspaceselectentervalidateqquit?moreFetchingallreleasesinformationfromhttps://api.github.com/repos/opentofu/opentofu/releasesWhichOpenTofuversion(s)doyouwanttoinstall(I)oruninstall(U)?(Xmarkalreadyinstalled)[X]1.8.0[]1.8.0-rc1[]1.8.0-beta2[]1.8.0-beta1[]1.8.0-alpha1[X]1.7.3[]1.7.2[]1.7.1•••[X]1.8.0[]1.8.0-rc1[]1.8.0-beta2[]1.8.0-beta1[U]1.8.0[U]1.7.3UninstallationofOpenTofu1.7.3successful(directory/Users/nmishin/.tenv/OpenTofu/1.7.3removed)UninstallationofOpenTofu1.8.0successful(directory/Users/nmishin/.tenv/OpenTofu/1.8.0removed)InstallingOpenTofu1.7.2Fetchingreleaseinformationfromhttps://api.github.com/repos/opentofu/opentofu/releases/tags/v1.7.2Downloadinghttps://github.com/opentofu/opentofu/releases/download/v1.7.2/tofu_1.7.2_darwin_amd64.zipDownloadinghttps://github.com/opentofu/opentofu/releases/download/v1.7.2/tofu_1.7.2_SHA256SUMSDownloadinghttps://github.com/opentofu/opentofu/releases/download/v1.7.2/tofu_1.7.2_SHA256SUMS.sigDownloadinghttps://github.com/opentofu/opentofu/releases/download/v1.7.2/tofu_1.7.2_SHA256SUMS.pemInstallationofOpenTofu1.7.2successfulnmishin@C11155:~$exitnmishin@C11155:~$#Acanmishin@C11155:~$#Acallwithoutasubcommandnmishin@C11155:~$#Acallwithoutasubcommandwillallownmishin@C11155:~$#Acallwithoutasubcommandwillallowyoutochnmishin@C11155:~$#Acallwithoutasubcommandwillallowyoutochoosnmishin@C11155:~$#Acallwithoutasubcommandwillallowyoutochoosethetoolnmishin@C11155:~$#Acallwithoutasubcommandwillallowyoutochoosethetoolanmishin@C11155:~$#Acallwithoutasubcommandwillallowyoutochoosethetoolandthennmishin@C11155:~$#Acallwithoutasubcommandwillallowyoutochoosethetoolandtheninsnmishin@C11155:~$#Acallwithoutasubcommandwillallowyoutochoosethetoolandtheninstallorunnmishin@C11155:~$#Acallwithoutasubcommandwillallowyoutochoosethetoolandtheninstalloruninstanmishin@C11155:~$#Acallwithoutasubcommandwillallowyoutochoosethetoolandtheninstalloruninstallannmishin@C11155:~$#Acallwithoutasubcommandwillallowyoutochoosethetoolandtheninstalloruninstallanynmishin@C11155:~$#Acallwithoutasubcommandwillallowyoutochoosethetoolandtheninstalloruninstallanyversiononmishin@C11155:~$#Acallwithoutasubcommandwillallowyoutochoosethetoolandtheninstalloruninstallanyversionofthanmishin@C11155:~$#Acallwithoutasubcommandwillallowyoutochoosethetoolandtheninstalloruninstallanyversionofthattoolnmishin@C11155:~$tnmishin@C11155:~$tenmishin@C11155:~$ten↑/kup↓/j[U]1.8.0[]1.8.0-alpha1[X]1.7.3[U]1.7.3[]1.7.2[I]1.7.2nmishin@C11155:~$enmishin@C11155:~$exnmishin@C11155:~$exiexit \ No newline at end of file