mirror of
https://github.com/jimeh/evm.git
synced 2026-02-19 07:26:40 +00:00
chore(log): use PersistentPreRunE to setup logging in a cleaner way
This commit is contained in:
@@ -7,8 +7,10 @@ import (
|
||||
|
||||
func NewEvm(mgr *manager.Manager) (*cobra.Command, error) {
|
||||
cmd := &cobra.Command{
|
||||
Use: "evm",
|
||||
Short: "A simple and opinionated Emacs Version Manager and build tool",
|
||||
Use: "evm",
|
||||
Short: "A simple and opinionated Emacs Version Manager " +
|
||||
"and build tool",
|
||||
PersistentPreRunE: PersistentPreRunE,
|
||||
}
|
||||
|
||||
cmd.PersistentFlags().StringP(
|
||||
|
||||
Reference in New Issue
Block a user