mirror of
https://github.com/drone/drone-cli.git
synced 2024-11-23 01:11:57 +01:00
21 lines
360 B
Go
21 lines
360 B
Go
package queue
|
|
|
|
import (
|
|
"github.com/drone/drone-cli/drone/internal"
|
|
"github.com/urfave/cli"
|
|
)
|
|
|
|
var queueResumeCmd = cli.Command{
|
|
Name: "resume",
|
|
Usage: "resume queue operations",
|
|
Action: queueResume,
|
|
}
|
|
|
|
func queueResume(c *cli.Context) (err error) {
|
|
client, err := internal.NewClient(c)
|
|
if err != nil {
|
|
return err
|
|
}
|
|
return client.QueueResume()
|
|
}
|