github.com/dkerwin/nomad@v0.3.3-0.20160525181927-74554135514b/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](/docs/jobspec/) in the current 12 directory that demonstrates some common configurations for tasks, task groups, 13 runtime constraints, and resource allocation. 14 15 Please refer to the [jobspec](/docs/jobspec/) and [drivers](/docs/drivers/) 16 pages to learn how to customize the template. 17 18 ## Examples 19 20 Generate an example job file: 21 22 ``` 23 $ nomad init 24 Example job file written to example.nomad 25 ```