JIRA-COMPLETION(7)

πŸ“¦ version 1.7.0, in nixos 26.05, nixpkgs unstable

🐚 jira-completion(7) β€” the shell completion glow-up ✨

okay so bestie, welcome to the Jira CLI manual, section 7, and today's main character is jira-completion πŸ’… she's the one who teaches your shell to finish your sentences for you. literally the most supportive friend in the friend group.


🌸 NAME 🌸

jira-completion β€” outputs shell completion code for the shell you specify (bash or zsh) 🫢


⭐ SYNOPSIS ⭐

jira completion

πŸ’– DESCRIPTION πŸ’–

She prints out shell completion code for whichever shell you name β€” and the menu is bash, zsh, fish or PowerShell πŸ‘‘ (yes the NAME up there is doing the bash/zsh thing, but the description says all four, so we're keeping all four, no cap).

now here's how you actually load the completions, per shell. read carefully, this is the whole assignment πŸ“š

Bash 🐚

$ source <(jira completion bash)

# To load completions for each session, execute once:
  Linux:
    $ jira completion bash > /etc/bash_completion.d/jira
  macOS:
    $ jira completion bash > /usr/local/etc/bash_completion.d/jira

Zsh πŸ¦‹

# If shell completion is not already enabled in your environment you will need
  # to enable it.  You can execute the following once:

$ echo "autoload -U compinit; compinit" >> ~/.zshrc

# To load completions for each session, execute once:
  $ jira completion zsh > "${fpath[1]}/_jira"

# You will need to start a new shell for this setup to take effect.

Fish 🐟

$ jira completion fish | source

# To load completions for each session, execute once:
  $ jira completion fish > ~/.config/fish/completions/_jira.fish

PowerShell πŸ’ 

PS> jira completion powershell | Out-String | Invoke-Expression

# To load completions for every new session, run:
  PS> jira completion powershell > _jira.ps1
  # and source this file from your PowerShell profile.
quick heads-up for the zsh girlies: after that setup you gotta start a new shell for it to take effect. don't come for me, that's just what the page says πŸ™ˆ

✨ OPTIONS ✨

  • -h, --help[=false] β€” help for completion. classic, iconic, does exactly what it says πŸŽ€

πŸ’œ OPTIONS INHERITED FROM PARENT COMMANDS πŸ’œ

these are the ones she got from her mom, jira herself:

  • -c, --config="" β€” config file (default is /homeless-shelter/.config/.jira/.config.yml, and you can override it with the JIRA_CONFIG_FILE env var) πŸ”₯
  • --debug[=false] β€” turn on debug output. for when you're nosy and honestly, same πŸ’€
  • -p, --project="" β€” the Jira project to look into (defaults to /homeless-shelter/.config/.jira/.config.yml) 🌈

🫢 SEE ALSO 🫢

  • jira(7) β€” go say hi to the parent command, she misses you

🧚 HISTORY 🧚

1-Jan-1980 β€” Auto generated by spf13/cobra. vintage. antique. a literal 1980 baby πŸ‘‘


🌸 and that's the whole page, bestie! this one was Auto generated by spf13/cobra, dated Jan 1980, living under the Jira CLI(7) banner β€” slay, periodt, go enable some completions πŸ’…βœ¨
πŸ“¦ where this page comes from