It also allows users to create a .jiralintrc file with the common parameters, making calling the cli more ergonomic.
I had to refactor jira_api.ts to make this possible so there are breaking changes in there. I'd put a PR for the webhook up too, but I'm not sure if it's the latest version is in github yet.
I also reference the lib from the cli directly instead of via @agiledigital/jiralint. Otherwise, I'll have to make two separate PRs. Happy to split it up though if preferred.
This PR adds two new authentication methods:
It also allows users to create a .jiralintrc file with the common parameters, making calling the cli more ergonomic.
I had to refactor jira_api.ts to make this possible so there are breaking changes in there. I'd put a PR for the webhook up too, but I'm not sure if it's the latest version is in github yet.
I also reference the lib from the cli directly instead of via @agiledigital/jiralint. Otherwise, I'll have to make two separate PRs. Happy to split it up though if preferred.