github.com/smintz/nomad@v0.8.3/website/source/docs/commands/namespace/list.html.md.erb (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Commands: namespace list"
     4  sidebar_current: "docs-commands-namespace-list"
     5  description: >
     6    The namespace list command is used to list namespaces.
     7  ---
     8  
     9  # Command: namespace list
    10  
    11  The `namespace list` command is used list available namespaces.
    12  
    13  ~> Namespace commands are new in Nomad 0.7 and are only available with Nomad
    14  Enterprise.
    15  
    16  ## Usage
    17  
    18  ```
    19  nomad namespace list [options]
    20  ```
    21  
    22  The `namespace list` command requires no arguments.
    23  
    24  ## General Options
    25  
    26  <%= partial "docs/commands/_general_options" %>
    27  
    28  ## List Options
    29  
    30  * `-json` : Output the namespaces in their JSON format.
    31  
    32  * `-t` : Format and display the namespaces using a Go template.
    33  
    34  ## Examples
    35  
    36  List all namespaces:
    37  
    38  ```
    39  $ nomad namespace list
    40  Name      Description
    41  default   Default shared namespace
    42  api-prod  Production instances of backend API servers
    43  api-qa    QA instances of backend API servers
    44  web-prod  Production instances of webservers
    45  web-qa    QA instances of webservers
    46  ```