github.com/ncodes/nomad@v0.5.7-0.20170403112158-97adf4a74fb3/website/source/docs/commands/init.html.md.erb (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Commands: init"
     4  sidebar_current: "docs-commands-init"
     5  description: >
     6    Generate a skeleton jobspec template.
     7  ---
     8  
     9  # Command: init
    10  
    11  The `init` command creates an example [job specification][jobspec] in the
    12  current directory that demonstrates some common configurations for tasks, task
    13  groups, runtime constraints, and resource allocation.
    14  
    15  Please refer to the [jobspec][] and [drivers](/docs/drivers/index.html)
    16  pages to learn how to customize the template.
    17  
    18  ## Examples
    19  
    20  Generate an example job file:
    21  
    22  ```text
    23  $ nomad init
    24  Example job file written to example.nomad
    25  ```
    26  
    27  [jobspec]: /docs/job-specification/index.html "Nomad Job Specification"