Only ask for the identification if it has not already been provided
This commit is contained in:
parent
75a8b1fc83
commit
5a809db2a8
@ -1,4 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
[ -z "$OMARCHY_USER_NAME" ] &&
|
||||||
export OMARCHY_USER_NAME=$(gum input --placeholder "Enter full name" --prompt "Name> ")
|
export OMARCHY_USER_NAME=$(gum input --placeholder "Enter full name" --prompt "Name> ")
|
||||||
|
|
||||||
|
[ -z "$OMARCHY_USER_EMAIL" ] &&
|
||||||
export OMARCHY_USER_EMAIL=$(gum input --placeholder "Enter email address" --prompt "Email> ")
|
export OMARCHY_USER_EMAIL=$(gum input --placeholder "Enter email address" --prompt "Email> ")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user