Skip to content

Commit

Permalink
chore: remove "ftl schema generate" (#3921)
Browse files Browse the repository at this point in the history
This is no longer used

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
jvmakine and github-actions[bot] authored Jan 7, 2025
1 parent 1b3cb6b commit 526f9b8
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 202 deletions.
7 changes: 3 additions & 4 deletions frontend/cli/cmd_schema.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
package main

type schemaCmd struct {
Get getSchemaCmd `default:"" cmd:"" help:"Retrieve the cluster FTL schema."`
Diff schemaDiffCmd `cmd:"" help:"Print any schema differences between this cluster and another cluster. Returns an exit code of 1 if there are differences."`
Generate schemaGenerateCmd `cmd:"" help:"Stream the schema from the cluster and generate files from the template."`
Import schemaImportCmd `cmd:"" help:"Import messages to the FTL schema."`
Get getSchemaCmd `default:"" cmd:"" help:"Retrieve the cluster FTL schema."`
Diff schemaDiffCmd `cmd:"" help:"Print any schema differences between this cluster and another cluster. Returns an exit code of 1 if there are differences."`
Import schemaImportCmd `cmd:"" help:"Import messages to the FTL schema."`
}
185 changes: 0 additions & 185 deletions frontend/cli/cmd_schema_generate.go

This file was deleted.

4 changes: 0 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ require (
github.com/opencontainers/image-spec v1.1.0
github.com/otiai10/copy v1.14.1
github.com/posener/complete v1.2.3
github.com/radovskyb/watcher v1.0.7
github.com/rs/cors v1.11.1
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1
github.com/swaggest/jsonschema-go v0.3.72
Expand Down Expand Up @@ -220,12 +219,9 @@ require (
github.com/chzyer/readline v1.5.1
github.com/danieljoos/wincred v1.2.2 // indirect
github.com/dlclark/regexp2 v1.11.4 // indirect
github.com/dop251/goja v0.0.0-20241009100908-5f46f2705ca3 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-sourcemap/sourcemap v2.1.3+incompatible // indirect
github.com/godbus/dbus/v5 v5.1.0 // indirect
github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.24.0 // indirect
github.com/hexops/gotextdiff v1.0.3
github.com/jackc/pgpassfile v1.0.0 // indirect
Expand Down
9 changes: 0 additions & 9 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 526f9b8

Please sign in to comment.