diff --git a/cmd/signaldctl/cmd/raw.go b/cmd/signaldctl/cmd/raw.go index 23cb9e0..db10514 100644 --- a/cmd/signaldctl/cmd/raw.go +++ b/cmd/signaldctl/cmd/raw.go @@ -12,9 +12,14 @@ import ( ) var rawCmd = &cobra.Command{ - Use: "raw []", + Use: "raw version type [json]", Short: "make a request to signald", - Long: "make a raw request to signald, returning the result. If request data is not provided via command line argument labeled \"json\", it must be provided via stdin", + Long: `make a raw request to signald, returning the result. If request data is not provided via command line argument labeled \"json\", it must be provided via stdin. + + Example usage: + + signaldctl raw v1 get_profile '{"account": "+12024561414", "address": {"number": "+12024561111"}}' + `, RunE: func(cmd *cobra.Command, args []string) error { if len(args) < 3 { return cmd.Help()