diff options
Diffstat (limited to 'commands/termui.go')
-rw-r--r-- | commands/termui.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/commands/termui.go b/commands/termui.go index 5d600710..8df5ba7c 100644 --- a/commands/termui.go +++ b/commands/termui.go @@ -17,9 +17,10 @@ func runTermUI(cmd *cobra.Command, args []string) error { } var termUICmd = &cobra.Command{ - Use: "termui", - Short: "Launch the terminal UI", - RunE: runTermUI, + Use: "termui", + Short: "Launch the terminal UI", + PreRunE: loadRepo, + RunE: runTermUI, } func init() { |