View definition

(*Command).MarkFlagFilename

Defined in github.com/spf13/cobra/bash_completions.go

Description

MarkFlagFilename adds the BashCompFilenameExt annotation to the named flag, if it exists. Generated bash autocompletion will select filenames for the flag, limiting to named extensions if provided.

MarkFlagFilename is referenced in 1 repository

github.com/spf13/cobra