Skip to content

Unable to generate badger completions without --dir flag #9701

@Dialga

Description

@Dialga

Describe the bug

Unable to generate badger completions without --dir flag

To Reproduce

Steps to reproduce the behavior:

  1. $ badger completion bash

Expected behavior

I expected the bash completion script to be output without requiring the --dir flag.
Affects badger bash/fish/powershell/zsh output.

Screenshots

Error:

--dir not specified

Environment

  • OS: Arch Linuix x64
  • Language
  • Version 25.3.4

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions