Skip to content

Commit

Permalink
add activity flag to restart command
Browse files Browse the repository at this point in the history
  • Loading branch information
prmaloney committed Jan 25, 2024
1 parent c9dac85 commit dd24764
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/activities.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ func init() {
createCmd.Flags().StringP("description", "d", "", "Set the description for the activity")
createCmd.Flags().IntP("minutes", "m", 0, "Set the number of minutes for the activity")

restartCmd.Flags().IntP("activity", "a", 0, "Set the activity to restart")

activitiesCmd.AddCommand(editCmd)
activitiesCmd.AddCommand(createCmd)
activitiesCmd.AddCommand(deleteCmd)
Expand Down

0 comments on commit dd24764

Please sign in to comment.