Tags: mbevc1/bin
Tags
Treat empty input as default suggested by prompt (marcosnils#116) The prompt,`Do you want to continue? [Y/n]`, uses conventional notation where capitalized letter is default option. Empty input line results in `Command aborted` which is unexpected behavior to user. This change treats empty string the same as `"y"`
Accept manual PATH and trim the input before use (marcosnils#114) When setting PATH directory manually, because the automatic detection failed, bin enters a loop and never comes out of it. This change adds a break after accepting the input and breaks out of the loop. Also, the input seems to contain a newline at the end, which causes further installation of binaries to fail due to malformed binary path. In order to fix it, trimp white spaces from the given input before using it.
Fix issue when setting config path manually Fixes marcosnils#111 which introduced a regression when adding the feature to configure the setting path manually
Allows to set manual download dir if can't be automatically detected (m… …arcosnils#108) * Allows to set manual download dir if can't be automatically detected This commits allows the user to specify a download directorty maunally if it can't be automatically detected by traversing the PATH folders Ideally it fixes 107 * Fix typo * Implement default path configuration for windows
add force flag for update (marcosnils#101) * feat: add force flag for update Relates to marcosnils#95 * feat: rename flag * feat: remove viper dependency * feat: add shorthand for yes * Update cmd/update.go Co-authored-by: Sune Keller <sune.keller+github@gmail.com> Co-authored-by: Sune Keller <sune.keller+github@gmail.com>
This commit adds --all flag to install and update to skip scoring process and return all assets fetched by a provider regardless of the architecture and OS. I haven't added any tests since if the logic is worng, current tests fail due to scoring logic returning invalid results Fixes marcosnils#96
PreviousNext