github.com/ferranbt/nomad@v0.9.3-0.20190607002617-85c449b7667c/website/source/docs/commands/acl/policy-list.html.md.erb (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Commands: acl policy list"
     4  sidebar_current: "docs-commands-acl-policy-list"
     5  description: >
     6    The policy list command is used to list available ACL policies.
     7  ---
     8  
     9  # Command: acl policy list
    10  
    11  The `acl policy list` command is used to list available ACL policies.
    12  
    13  ## Usage
    14  
    15  ```
    16  nomad acl policy list
    17  ```
    18  
    19  ## General Options
    20  
    21  <%= partial "docs/commands/_general_options" %>
    22  #
    23  ## List Options
    24  
    25  * `-json` : Output the policies in their JSON format.
    26  
    27  * `-t` : Format and display the policies using a Go template.
    28  
    29  ## Examples
    30  
    31  List all ACL policies:
    32  
    33  ```
    34  $ nomad acl policy list
    35  Name      Description
    36  policy-1  The first policy
    37  policy-2  The second policy
    38  ```