go-jira / jira

simple jira command line client in Go
Apache License 2.0
2.67k stars 326 forks source link

add --passwordsource global option #442

Open chuckliu1979 opened 3 years ago

chuckliu1979 commented 3 years ago

for automation testing and/or CI/CD, it's good to have pipe login from stdin. at present we need add "password-source: stdin" in .jira.d/config.yml, it's not convenient. this pull request would better :

echo "password" | jira login --passwordsource stdin