over/template.py
2016-02-14 22:17:59 +01:00

32 lines
739 B
Python

#! /usr/bin/env python3
# encoding: utf-8
# library imports
import over
prefix = over.core.text.prefix
# local imports
#import version
# --------------------------------------------------
# Exceptions
class ConfigurationError(Exception):
pass
# --------------------------------------------------
# Functions
# --------------------------------------------------
# Classes
# --------------------------------------------------
if __name__ == "__main__":
main = over.core.app.Main("short-name", "Human Readable Name", version.str, "LICENSE", use_cfg_file=False)
main.add_option("option", "type", "default", "Description.", short_name="s")
main.add_help("Description", ["What it does."])
main.enable_help("h")
main.parse()
...