mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-03 19:23:42 +01:00
docs: Add template to sub-commands
This commit is contained in:
22
docs/chapters/subcommands/template.rst
Normal file
22
docs/chapters/subcommands/template.rst
Normal file
@@ -0,0 +1,22 @@
|
||||
template
|
||||
========
|
||||
|
||||
Run preconfigured template files inside targeted jail(s).
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
ishmael ~ # bastille template azkaban project/template
|
||||
|
||||
Templates should be structured in `project/template/Bastillefile` format, and placed in the template
|
||||
directory, which defaults to `/usr/local/bastille/templates`. The Bastillefile should contain the template
|
||||
hooks. See the chapter called Template for a list of supported hooks.
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
ishmael ~ # bastille template help
|
||||
Usage: bastille template [option(s)] TARGET [--convert|project/template]
|
||||
|
||||
Options:
|
||||
|
||||
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||
-x | --debug Enable debug mode.
|
||||
Reference in New Issue
Block a user