aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/lulu/cancel.go
blob: 4e5d3b1488b079de2c537b7b4b2bfbbf20f41d0d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
package main

import "git.samanthony.xyz/lulu"

type CancelCmd struct {
	Id uint64 `arg help:"ID of the job to cancel"`
}

func (cmd CancelCmd) Run(clnt *lulu.Client) error {
	return clnt.Cancel(cmd.Id)
}