specified info for install and uninstall

This commit is contained in:
mik-tf 2024-10-12 10:30:57 -04:00
parent 8c439a69c9
commit bdea372932

10
flist.v
View File

@ -27,6 +27,8 @@ const info_msg = $if windows {
'Note: Docker Desktop must be running to use the push function.\n' 'Note: Docker Desktop must be running to use the push function.\n'
} }
const flist_repo_folder = (' # Run this line in the Flist CLI repo folder')
struct FlistItem { struct FlistItem {
name string name string
} }
@ -492,14 +494,14 @@ fn help() {
println(term.cyan(' help ') + ' - Display this help message\n') println(term.cyan(' help ') + ' - Display this help message\n')
println(term.bold('Usage:')) println(term.bold('Usage:'))
$if linux { $if linux {
println(term.yellow(' sudo ./flist install')) println(term.yellow(' sudo ./flist install') + term.cyan(flist_repo_folder))
println(term.yellow(' sudo flist uninstall')) println(term.yellow(' sudo flist uninstall'))
} $else $if macos { } $else $if macos {
println(term.yellow(' sudo ./flist install')) println(term.yellow(' sudo ./flist install') + term.cyan(flist_repo_folder))
println(term.yellow(' flist uninstall')) println(term.yellow(' flist uninstall'))
} $else $if windows { } $else $if windows {
println(term.yellow(' ./flist.exe install')) println(term.yellow(' ./flist.exe install') + term.cyan(flist_repo_folder))
println(term.yellow(' ./flist.exe uninstall')) println(term.yellow(' ./flist.exe uninstall') + term.cyan(flist_repo_folder))
} }
println(term.yellow(' flist login')) println(term.yellow(' flist login'))
println(term.yellow(' flist logout')) println(term.yellow(' flist logout'))