Skip to content

feat: Jira init non-interactive #381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 6, 2022
Merged

Conversation

ankitpokhrel
Copy link
Owner

@ankitpokhrel ankitpokhrel commented Jun 5, 2022

Fixes #366

We can now use available flags to skip the prompt while generating the config.

$ jira init --installation cloud --server https://demo.atlassian.net --login [email protected] --project KEY --board "My Board Name"

Available flags

$ jira init -h
Init initializes jira configuration required for the tool to work properly.

USAGE
  jira init [flags]

FLAGS
      --installation string   Is this a 'cloud' or 'local' jira installation?
      --server string         Link to your jira server
      --login string          Jira login username or email based on your setup
      --board string          Name of your default board in the project
      --force                 Forcefully override existing config if it exists
      --insecure              If set, the tool will skip TLS certificate verification.
                              This can be useful if your server is using self-signed certificates.
  -h, --help                  help for init

INHERITED FLAGS
  -c, --config string    Config file (default is ~/.config/.jira/.config.yml)
      --debug            Turn on debug output
  -p, --project string   Jira project to look into (defaults to ~/.config/.jira/.config.yml)

@ankitpokhrel ankitpokhrel marked this pull request as ready for review June 6, 2022 07:55
@ankitpokhrel ankitpokhrel merged commit 7f72cc9 into main Jun 6, 2022
@ankitpokhrel ankitpokhrel deleted the jira-init-non-interactive branch June 6, 2022 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Jira init non-interactive
1 participant