Merge pull request 'specified info for install and uninstall' (#19) from development_flist_msg into main

Reviewed-on: #19
This commit is contained in:
mik-tf 2024-10-12 14:31:53 +00:00
commit 0f3b5e078b

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'
}
const flist_repo_folder = (' # Run this line in the Flist CLI repo folder')
struct FlistItem {
name string
}
@ -492,14 +494,14 @@ fn help() {
println(term.cyan(' help ') + ' - Display this help message\n')
println(term.bold('Usage:'))
$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'))
} $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'))
} $else $if windows {
println(term.yellow(' ./flist.exe install'))
println(term.yellow(' ./flist.exe uninstall'))
println(term.yellow(' ./flist.exe install') + term.cyan(flist_repo_folder))
println(term.yellow(' ./flist.exe uninstall') + term.cyan(flist_repo_folder))
}
println(term.yellow(' flist login'))
println(term.yellow(' flist logout'))