31 lines
708 B
Python
31 lines
708 B
Python
#! /usr/bin/env python3
|
|
# encoding: utf-8
|
|
|
|
# library imports
|
|
import over
|
|
|
|
# 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()
|
|
|
|
...
|