forked from freeleaps/freeleaps-pub
Update for product id input when user start with ./devbox
This commit is contained in:
parent
11fde3b99a
commit
4b783135e0
@ -94,6 +94,13 @@ devbox_init_guidance() {
|
||||
add_arg "--use-custom-repository" "$use_custom_repository"
|
||||
;;
|
||||
2)
|
||||
# Ask user for product_id
|
||||
read -p "Enter your product_id: " product_id
|
||||
if [[ -z $product_id ]]; then
|
||||
printf "Product ID is required.\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Ask user for Freeleaps.com username and password
|
||||
read -p "Enter your Freeleaps.com username: " freeleaps_username
|
||||
read -s -p "Enter your Freeleaps.com password: " freeleaps_password
|
||||
|
||||
Loading…
Reference in New Issue
Block a user