From ecf9e48c92e98a91e446b4f7c0e8f9fdd7fd95d7 Mon Sep 17 00:00:00 2001 From: mik-tf Date: Sat, 12 Oct 2024 07:47:22 -0400 Subject: [PATCH] updated help for windows with install and uninstall --- flist.v | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/flist.v b/flist.v index 14c8850..a5e60fc 100644 --- a/flist.v +++ b/flist.v @@ -451,10 +451,8 @@ fn help() { println('This tool turns Dockerfiles and Docker images directly into Flists on the TF Flist Hub, passing by the Docker Hub.\n') println(term.cyan(info_msg)) println(term.bold('Available commands:')) - $if !windows { - println(term.cyan(' install ') + ' - Install the Flist CLI') - println(term.cyan(' uninstall') + ' - Uninstall the Flist CLI') - } + println(term.cyan(' install ') + ' - Install the Flist CLI') + println(term.cyan(' uninstall') + ' - Uninstall the Flist CLI') println(term.cyan(' login ') + ' - Log in to Docker Hub and save the Flist Hub token') println(term.cyan(' logout ') + ' - Log out of Docker Hub and remove the Flist Hub token') println(term.cyan(' push ') + @@ -471,6 +469,9 @@ fn help() { } $else $if macos { println(term.yellow(' sudo ./flist install')) println(term.yellow(' flist uninstall')) + } $else $if windows { + println(term.yellow(' ./flist.exe install')) + println(term.yellow(' ./flist.exe uninstall')) } println(term.yellow(' flist login')) println(term.yellow(' flist logout')) -- 2.40.1