Skip to content

Commit

Permalink
Remove schema cmd declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
tstirrat15 committed Jan 3, 2025
1 parent ba86180 commit 2dab9d0
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions internal/cmd/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,6 @@ func schemaDiffCmdFunc(_ *cobra.Command, args []string) error {

return nil
}
var schemaCompileCmd = &cobra.Command{
Use: "compile <file>",
Args: cobra.ExactArgs(1),
Short: "Compile a schema that uses extended syntax into one that can be written to SpiceDB",
// TODO: add longer example
// TODO: is this correct?
ValidArgsFunction: commands.FileExtensionCompletions("zed"),
RunE: schemaCompileCmdFunc,
}

func schemaCopyCmdFunc(cmd *cobra.Command, args []string) error {
_, secretStore := client.DefaultStorage()
Expand Down

0 comments on commit 2dab9d0

Please sign in to comment.