Building 70 Projects ranging from beginner to advanced so anyone can — learn from, build upon, use as a reference, or even copy directly. Owned by my cybersecurity company 👇
Go aicertificationcloud-engineeringcybercybersecuritycybersecurity-analystcybersecurity-certificationcybersecurity-certificationscybersecurity-educationcybersecurity-jobscybersecurity-portfoliocybersecurity-projectscybersecurity-toolsgrchackinglearningpentestingproject-repositoryprojetcspython
/*
©AngelaMos | 2026
version.go
The version command: print the crypha build version
*/
package cli
import (
"github.com/CarterPerez-dev/crypha/internal/report"
"github.com/spf13/cobra"
)
func newVersionCmd() *cobra.Command {
return &cobra.Command{
Use: cmdVersion,
Short: "Print the crypha version",
Args: cobra.NoArgs,
RunE: func(cmd *cobra.Command, _ []string) error {
return report.Version(cmd.OutOrStdout(), jsonEnabled(cmd))
},
}
}