Skip to content

Commit 3e4debd

Browse files
committed
docs: minor fixes for custom script skeleton
1 parent d7e13b5 commit 3e4debd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/custom-scripts.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ See for yourself:
1616
.. code-block:: python
1717
1818
#! /usr/bin/env python-pyrocore
19+
# -*- coding: utf-8 -*-
1920
2021
# Enter the magic kingdom
2122
from pyrocore import config
@@ -30,6 +31,11 @@ See for yourself:
3031
# argument description for the usage information
3132
ARGS_HELP = "<arg_1>... <arg_n>"
3233
34+
# set your own version
35+
VERSION = '1.0'
36+
37+
# (optionally) define your licensing
38+
COPYRIGHT = u'Copyright (c) …'
3339
3440
def add_options(self):
3541
""" Add program options.

0 commit comments

Comments
 (0)