mirror of
https://github.com/shenxn/protonmail-bridge-docker.git
synced 2025-12-06 00:17:10 +00:00
closes: #24 added optional parameters to cli
This commit is contained in:
parent
09346ca12e
commit
d63d426755
@ -10,7 +10,7 @@ if [[ $1 == init ]]; then
|
||||
pass init pass-key
|
||||
|
||||
# Login
|
||||
/protonmail/proton-bridge --cli
|
||||
/protonmail/proton-bridge --cli $@
|
||||
|
||||
else
|
||||
|
||||
@ -24,6 +24,6 @@ else
|
||||
# Fake a terminal, so it does not quit because of EOF...
|
||||
rm -f faketty
|
||||
mkfifo faketty
|
||||
cat faketty | /protonmail/proton-bridge --cli
|
||||
cat faketty | /protonmail/proton-bridge --cli $@
|
||||
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user