set help fn with windows specific
This commit is contained in:
parent
3eb53a4b3b
commit
6f4c146ec0
4
flist.v
4
flist.v
@ -494,8 +494,10 @@ 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.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 ') +
|
||||
@ -506,8 +508,10 @@ fn help() {
|
||||
println(term.cyan(' ls url ') + '- List all Flists of the current user with full URLs')
|
||||
println(term.cyan(' help ') + '- Display this help message\n')
|
||||
println(term.bold('Usage:'))
|
||||
$if !windows {
|
||||
println(term.yellow(' sudo ./flist install'))
|
||||
println(term.yellow(' sudo flist uninstall'))
|
||||
}
|
||||
println(term.yellow(' flist login'))
|
||||
println(term.yellow(' flist logout'))
|
||||
println(term.yellow(' flist push <image>:<tag>'))
|
||||
|
Loading…
Reference in New Issue
Block a user