From 46c66428305f971bec4eca659589f03ea6b90970 Mon Sep 17 00:00:00 2001 From: josh <josh@elixxir.io> Date: Fri, 22 Oct 2021 11:32:38 -0700 Subject: [PATCH] Add proto to command --- README.md | 1 + cmd/proto.go | 2 ++ 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 70f681117..cb6d69e09 100644 --- a/README.md +++ b/README.md @@ -150,6 +150,7 @@ Available Commands: group Group commands for cMix client help Help about any command init Initialize a user ID but do not connect to the network + proto Load client with a proto client JSON file. single Send and respond to single-use messages. ud Register for and search users using the xx network user discovery service. version Print the version and dependency information for the Elixxir binary diff --git a/cmd/proto.go b/cmd/proto.go index f2a43c573..6b2debe1c 100644 --- a/cmd/proto.go +++ b/cmd/proto.go @@ -473,4 +473,6 @@ func init() { protoCmd.Flags().String("profile-cpu", "", "Enable cpu profiling to this file") viper.BindPFlag("profile-cpu", protoCmd.Flags().Lookup("profile-cpu")) + + rootCmd.AddCommand(protoCmd) } -- GitLab