mirror of
https://github.com/openziti/ziti.git
synced 2026-10-13 23:59:53 +00:00
configure root Command with PersistentPostRun (#76)
This commit is contained in:
@@ -45,9 +45,10 @@ func init() {
|
||||
}
|
||||
|
||||
var root = &cobra.Command{
|
||||
Use: filepath.Base(os.Args[0]),
|
||||
Short: "Ziti Tunnel",
|
||||
PersistentPreRun: rootPreRun,
|
||||
Use: filepath.Base(os.Args[0]),
|
||||
Short: "Ziti Tunnel",
|
||||
PersistentPreRun: rootPreRun,
|
||||
PersistentPostRun: rootPostRun,
|
||||
}
|
||||
|
||||
var interceptor intercept.Interceptor
|
||||
|
||||
Reference in New Issue
Block a user