Skip to content

Open source AI coding agent. Designed for large projects and real world tasks.

372 B
Raw Blame
package cmd

import (
	"fmt"

	"plandex-cli/version"

	"github.com/spf13/cobra"
)

var versionCmd = &cobra.Command{
	Use:   "version",
	Short: "Print the version number of Plandex",
	Long:  `All software has versions. This is Plandex's`,
	Run: func(cmd *cobra.Command, args []string) {
		fmt.Println(version.Version)
	},
}

func init() {
	RootCmd.AddCommand(versionCmd)
}