Merge pull request 'updated help for windows with install and uninstall' (#14) from development_issues into main

Reviewed-on: #14
This commit is contained in:
mik-tf 2024-10-12 11:48:44 +00:00
commit bd218134fe

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(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(' 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'))