Commit 9e10ae11 authored by Sietse Ringers's avatar Sietse Ringers
Browse files

feat: link to documentation in irma cli

parent c8fd650e
Pipeline #26426 passed with stages
in 6 minutes and 27 seconds
......@@ -13,11 +13,9 @@ import (
var RootCmd = &cobra.Command{
Use: "irma",
Short: "IRMA toolkit",
Long: `IRMA toolkit`,
Long: "IRMA toolkit\nDocumentation:",
// Execute adds all child commands to the root command sets flags appropriately.
// This is called by main.main(). It only needs to happen once to the rootCmd.
func Execute() {
if err := RootCmd.Execute(); err != nil {
......@@ -29,7 +27,8 @@ func init() {
Use: "version",
Short: "Print irma version information",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("Version: ", irma.Version)
fmt.Println("OS/Arg: ", runtime.GOOS+"/"+runtime.GOARCH)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment