Skip to content

Commit

Permalink
chore(promrw): cleanup, add alias
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Jan 7, 2024
1 parent 7bdc283 commit bdcbe9f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
7 changes: 4 additions & 3 deletions cmd/promrw/replay.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,10 @@ func (r *Replay) Run(ctx context.Context) error {
func newReplayCommand() *cobra.Command {
var replay Replay
cmd := &cobra.Command{
Use: "replay",
Short: "Send recorded requests to remote write server",
Args: cobra.NoArgs,
Use: "replay",
Aliases: []string{"send"},
Short: "Send recorded requests to remote write server",
Args: cobra.NoArgs,
RunE: func(cmd *cobra.Command, args []string) error {
return replay.Run(cmd.Context())
},
Expand Down

0 comments on commit bdcbe9f

Please sign in to comment.