code: func cmdCheckACL(params Parameters) *subcommands.Command {
  	return &subcommands.Command{
  		Advanced:  true,
  		UsageLine: "acl-check <package subpath> [options]",
  		ShortDesc: "checks whether the caller has given roles in a package",
  		LongDesc:  "Checks whether the caller has given roles in a package.",
  		CommandRun: func() subcommands.CommandRun {
  			c := &checkACLRun{}
  			c.registerBaseFlags()
  			c.clientOptions.registerFlags(&c.Flags, params, withoutRootDir)
  			c.Flags.BoolVar(&c.owner, "owner", false, "Check for OWNER role.")
  			c.Flags.BoolVar(&c.writer, "writer", false, "Check for WRITER role.")
  			c.Flags.BoolVar(&c.reader, "reader", false, "Check for READER role.")
  			return c
  		},
  	}
  }
docs: ////////////////////////////////////////////////////////////////////////////////
  // 'acl-check' subcommand.