View definition

(*Command).MarkPersistentFlagFilename

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

Description

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

MarkPersistentFlagFilename is referenced in 1 repository

github.com/spf13/cobra