updated help for windows with install and uninstall

This commit is contained in:
mik-tf 2024-10-12 07:47:22 -04:00
parent 0281bd6260
commit ecf9e48c92

View File

@ -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('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.cyan(info_msg))
println(term.bold('Available commands:')) println(term.bold('Available commands:'))
$if !windows { println(term.cyan(' install ') + ' - Install the Flist CLI')
println(term.cyan(' install ') + ' - Install the Flist CLI') println(term.cyan(' uninstall') + ' - Uninstall 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(' 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(' logout ') + ' - Log out of Docker Hub and remove the Flist Hub token')
println(term.cyan(' push ') + println(term.cyan(' push ') +
@ -471,6 +469,9 @@ fn help() {
} $else $if macos { } $else $if macos {
println(term.yellow(' sudo ./flist install')) println(term.yellow(' sudo ./flist install'))
println(term.yellow(' flist uninstall')) 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 login'))
println(term.yellow(' flist logout')) println(term.yellow(' flist logout'))