File
Blob: cmd/client/expose.go
| 1 | package client |
| 2 | |
| 3 | import ( |
| 4 | "context" |
| 5 | |
| 6 | "github.com/urfave/cli/v3" |
| 7 | ) |
| 8 | |
| 9 | func exposeCommand() *cli.Command { |
| 10 | return &cli.Command{ |
| 11 | Name: "expose", |
| 12 | Usage: "Serve one target at a temporary URL", |
| 13 | ArgsUsage: "<target>", |
| 14 | Flags: lightweightFlags(), |
| 15 | Action: func(ctx context.Context, cmd *cli.Command) error { return runLightweight(ctx, cmd, "") }, |
| 16 | } |
| 17 | } |