Skip to content

Commit 0c0331f

Browse files
authored
fix(core): kas-grants cmd (#82)
1 parent 17fbde0 commit 0c0331f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cmd/kas-grants.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,5 @@ func init() {
131131
kasGrantsDeleteCmd.Flags().StringP("attribute", "a", "", "Attribute Definition ID")
132132
kasGrantsDeleteCmd.Flags().StringP("value", "v", "", "Attribute Value ID")
133133
kasGrantsDeleteCmd.Flags().StringP("kas", "k", "", "Key Access Server (KAS) ID")
134+
rootCmd.AddCommand(kasGrantsCmd)
134135
}

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func Execute() {
3737

3838
func init() {
3939
rootCmd.PersistentFlags().BoolVar(&configFlagOverrides.OutputFormatJSON, "json", false, "output single command in JSON (overrides configured output format)")
40-
rootCmd.PersistentFlags().String("host", "localhost:9000", "host:port of the Virtru Data Security Platform gRPC server")
40+
rootCmd.PersistentFlags().String("host", "localhost:8080", "host:port of the Virtru Data Security Platform gRPC server")
4141
rootCmd.PersistentFlags().StringVar(&cfgFile, "config-file", "", "config file (default is $HOME/.tructl.yaml)")
4242

4343
cfg, err := config.LoadConfig("tructl")

0 commit comments

Comments
 (0)