Flist CLI Updated for Linux, MacOS, Windows #7
2
flist.v
2
flist.v
@ -174,7 +174,7 @@ fn login() {
|
||||
mut token_exists := os.exists(token_file)
|
||||
os.mkdir_all(config_dir) or { panic(err) }
|
||||
if !token_exists {
|
||||
tfhub_token := os.input('Please enter your tfhub token: ')
|
||||
tfhub_token := os.input('Please enter your TF Hub token: ')
|
||||
os.write_file(token_file, tfhub_token) or { panic(err) }
|
||||
success_message('TF Hub token saved in ' + token_file)
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user