Skip to content

Commit 02954fd

Browse files
authored
feat(cmd): clean up version output (#23)
1 parent dd8f8f6 commit 02954fd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cmd/zana/root.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package zana
22

33
import (
4+
"fmt"
45
"os"
5-
"runtime"
66
"time"
77

88
"github.com/charmbracelet/log"
@@ -21,11 +21,11 @@ var cfg = config.NewConfig(config.Config{
2121

2222
var rootCmd = &cobra.Command{
2323
Use: "zana",
24-
Short: "Zana is Mason.nvim, but maintained by the community",
25-
Long: "A package manager for Neovim. Easily install and manage LSP servers, DAP servers, linters and formatters.",
24+
Short: "Zana is Mason.nvim, but not only for Neovim",
25+
Long: "Zana is a minimal CLI and TUI for managing LSP servers, DAP servers, linters, and formatters, for Neovim, but not limited to just Neovim.",
2626
Run: func(cmd *cobra.Command, files []string) {
2727
if cfg.Flags.Version {
28-
log.Info("Version", runtime.GOOS, version.VERSION)
28+
fmt.Println(version.VERSION)
2929
return
3030
} else {
3131
// Check health before starting the main application

0 commit comments

Comments
 (0)