TUN-3691: Edit Teamnet help text
This commit is contained in:
parent
a34604cfc7
commit
b40d8557cf
|
@ -17,12 +17,12 @@ func buildRouteIPSubcommand() *cli.Command {
|
||||||
return &cli.Command{
|
return &cli.Command{
|
||||||
Name: "ip",
|
Name: "ip",
|
||||||
Category: "Tunnel",
|
Category: "Tunnel",
|
||||||
Usage: "Configure and query Cloudflare for Teams private routes",
|
Usage: "Configure and query private routes",
|
||||||
UsageText: "cloudflared tunnel [--config FILEPATH] route COMMAND [arguments...]",
|
UsageText: "cloudflared tunnel [--config FILEPATH] route COMMAND [arguments...]",
|
||||||
Hidden: true,
|
Hidden: true,
|
||||||
Description: `cloudflared lets you provision private Cloudflare for Teams routes to origins in your corporate
|
Description: `cloudflared can provision private routes from Cloudflare to origins in your corporate
|
||||||
network, so that you can ensure the only people who can access your private IP subnets are people using a
|
network. Users enrolled in your Cloudflare for Teams organization can reach those routes through the
|
||||||
corporate device enrolled in Cloudflare for Teams.
|
Cloudflare WARP client. You can also build rules to determine who can reach certain routes.
|
||||||
`,
|
`,
|
||||||
Subcommands: []*cli.Command{
|
Subcommands: []*cli.Command{
|
||||||
{
|
{
|
||||||
|
@ -30,16 +30,15 @@ func buildRouteIPSubcommand() *cli.Command {
|
||||||
Action: cliutil.ErrorHandler(addRouteCommand),
|
Action: cliutil.ErrorHandler(addRouteCommand),
|
||||||
Usage: "Add a new Teamnet route to the table",
|
Usage: "Add a new Teamnet route to the table",
|
||||||
UsageText: "cloudflared tunnel [--config FILEPATH] route ip add [CIDR] [TUNNEL] [COMMENT?]",
|
UsageText: "cloudflared tunnel [--config FILEPATH] route ip add [CIDR] [TUNNEL] [COMMENT?]",
|
||||||
Description: `Add a new Cloudflare for Teams private route from a given tunnel (identified by name or
|
Description: `Adds a private route from a given Tunnel (identified by name or
|
||||||
UUID) to a given IP network in your private IP space. This route will go through your Gateway rules.`,
|
UUID) to a given CIDR in your private IP space.`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "show",
|
Name: "show",
|
||||||
Action: cliutil.ErrorHandler(showRoutesCommand),
|
Action: cliutil.ErrorHandler(showRoutesCommand),
|
||||||
Usage: "Show the routing table",
|
Usage: "Show the routing table",
|
||||||
UsageText: "cloudflared tunnel [--config FILEPATH] route ip show [flags]",
|
UsageText: "cloudflared tunnel [--config FILEPATH] route ip show [flags]",
|
||||||
Description: `Shows all Cloudflare for Teams private routes. Using flags to specify filters means that
|
Description: `Shows all private routes in your organization. You can use flags to filter the results.`,
|
||||||
only routes which match that filter get shown.`,
|
|
||||||
Flags: teamnet.FilterFlags,
|
Flags: teamnet.FilterFlags,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -47,7 +46,7 @@ func buildRouteIPSubcommand() *cli.Command {
|
||||||
Action: cliutil.ErrorHandler(deleteRouteCommand),
|
Action: cliutil.ErrorHandler(deleteRouteCommand),
|
||||||
Usage: "Delete a row of the routing table",
|
Usage: "Delete a row of the routing table",
|
||||||
UsageText: "cloudflared tunnel [--config FILEPATH] route ip delete [CIDR]",
|
UsageText: "cloudflared tunnel [--config FILEPATH] route ip delete [CIDR]",
|
||||||
Description: `Deletes the Cloudflare for Teams private route for a given CIDR`,
|
Description: `Deletes the private route for a given CIDR`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "get",
|
Name: "get",
|
||||||
|
|
Loading…
Reference in New Issue