-
Notifications
You must be signed in to change notification settings - Fork 224
/
extensions.go
35 lines (29 loc) · 963 Bytes
/
extensions.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Package logs implements the logs command chain.
package extensions
import (
"github.com/spf13/cobra"
"github.com/superfly/flyctl/internal/command"
"github.com/superfly/flyctl/internal/command/extensions/kafka"
"github.com/superfly/flyctl/internal/command/extensions/kubernetes"
"github.com/superfly/flyctl/internal/command/extensions/planetscale"
sentry_ext "github.com/superfly/flyctl/internal/command/extensions/sentry"
"github.com/superfly/flyctl/internal/command/extensions/supabase"
"github.com/superfly/flyctl/internal/command/extensions/tigris"
)
func New() (cmd *cobra.Command) {
const (
long = `Extensions are additional functionality that can be added to your Fly apps`
)
cmd = command.New("extensions", long, long, nil)
cmd.Aliases = []string{"extensions", "ext"}
cmd.Args = cobra.NoArgs
cmd.AddCommand(
sentry_ext.New(),
planetscale.New(),
supabase.New(),
tigris.New(),
kubernetes.New(),
kafka.New(),
)
return
}