forked from Gitlink/gitlink-cli
17 lines
411 B
Go
17 lines
411 B
Go
package issue
|
|
|
|
import (
|
|
"github.com/gitlink-org/gitlink-cli/shortcuts/common"
|
|
)
|
|
|
|
const openIssueStatusID = 1
|
|
|
|
func newBatchOpenShortcut() *common.Shortcut {
|
|
return &common.Shortcut{
|
|
Name: "batch-open",
|
|
Description: "Reopen multiple issues",
|
|
Flags: batchStateFlags(),
|
|
Run: func(ctx *common.RuntimeContext) error { return runBatchStateChange(ctx, "open", openIssueStatusID) },
|
|
}
|
|
}
|