1package command
2
3import (
4	"strings"
5
6	"github.com/mitchellh/cli"
7)
8
9type JobPeriodicCommand struct {
10	Meta
11}
12
13func (f *JobPeriodicCommand) Name() string { return "periodic" }
14
15func (f *JobPeriodicCommand) Run(args []string) int {
16	return cli.RunResultHelp
17}
18
19func (f *JobPeriodicCommand) Synopsis() string {
20	return "Interact with periodic jobs"
21}
22
23func (f *JobPeriodicCommand) Help() string {
24	helpText := `
25Usage: nomad job periodic <subcommand> [options] [args]
26
27  This command groups subcommands for interacting with periodic jobs.
28
29  Force a periodic job:
30
31      $ nomad job periodic force <job_id>
32
33  Please see the individual subcommand help for detailed usage information.
34`
35	return strings.TrimSpace(helpText)
36}
37