github.com/Jeffail/benthos/v3@v3.65.0/internal/cli/studio/cli.go (about) 1 package studio 2 3 import ( 4 "github.com/urfave/cli/v2" 5 ) 6 7 // CliCommand is a cli.Command definition for interacting with Benthos studio. 8 func CliCommand(version, dateBuilt string) *cli.Command { 9 return &cli.Command{ 10 Name: "studio", 11 Usage: "Interact with Benthos studio (https://studio.benthos.dev)", 12 Description: ` 13 EXPERIMENTAL: This subcommand is experimental and therefore are subject to 14 change outside of major version releases.`[1:], 15 Flags: []cli.Flag{ 16 &cli.StringFlag{ 17 Name: "endpoint", 18 Aliases: []string{"e"}, 19 Value: "https://studio.benthos.dev", 20 Usage: "Specify the URL of the Benthos studio server to connect to.", 21 }, 22 }, 23 Subcommands: []*cli.Command{ 24 syncSchemaCommand(version, dateBuilt), 25 }, 26 } 27 }