github.com/blixtra/nomad@v0.7.2-0.20171221000451-da9a1d7bb050/command/acl.go (about)

     1  package command
     2  
     3  import (
     4  	"strings"
     5  
     6  	"github.com/mitchellh/cli"
     7  )
     8  
     9  type ACLCommand struct {
    10  	Meta
    11  }
    12  
    13  func (f *ACLCommand) Help() string {
    14  	helpText := `
    15  Usage: nomad acl <subcommand> [options]
    16  
    17    Interact with ACL policies and tokens.
    18  
    19    Run nomad acl <subcommand> with no arguments for help on that subcommand.
    20  `
    21  	return strings.TrimSpace(helpText)
    22  }
    23  
    24  func (f *ACLCommand) Synopsis() string {
    25  	return "Interact with ACL policies and tokens"
    26  }
    27  
    28  func (f *ACLCommand) Run(args []string) int {
    29  	return cli.RunResultHelp
    30  }