Skip to content

Commit

Permalink
feat: type completion for rust
Browse files Browse the repository at this point in the history
  • Loading branch information
bvdeenen committed May 20, 2022
1 parent 9ac22e3 commit 5fc3eb1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/entity/schema_code/cmd.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package schema_code

import (
"github.com/spf13/cobra"
"strmprivacy/strm/pkg/entity/schema"

"github.com/spf13/cobra"
)

var longDoc = `In order to simplify sending correctly serialized data to STRM Privacy it is recommended to use generated source code
Expand Down Expand Up @@ -39,5 +40,5 @@ func GetCmd() *cobra.Command {
}

func languageCompletion(cmd *cobra.Command, args []string, complete string) ([]string, cobra.ShellCompDirective) {
return []string{"java", "typescript", "python"}, cobra.ShellCompDirectiveDefault
return []string{"java", "typescript", "python", "rust"}, cobra.ShellCompDirectiveDefault
}

0 comments on commit 5fc3eb1

Please sign in to comment.