View definition

(Command).PersistentPreRun

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

Description

The *Run functions are executed in the following order:

* PersistentPreRun()
* PreRun()
* Run()
* PostRun()
* PersistentPostRun()

All functions get the same args, the arguments after the command name PersistentPreRun: children of this command will inherit and execute

PersistentPreRun is referenced in 11 repositories

github.com/spf13/cobra github.com/andrewsomething/floatctl github.com/mistifyio/gozfs

...