--- /dev/null
+"""
+REPA: Release Engineering Process Assistant.
+
+Copyright (C) Intel Corporation 2013
+Licence: GPL version 2
+Author: Ed Bartosh <eduard.bartosh@intel.com>
+
+Repa subcommand plugin.
+Init.
+"""
+
--- /dev/null
+#!/usr/bin/env python
+
+"""
+REPA: Release Engineering Process Assistant.
+
+Copyright (C) Intel Corporation 2013
+Licence: GPL version 2
+Author: Ed Bartosh <eduard.bartosh@intel.com>
+
+Test repa command plugin.
+After installation new command 'test' will be added to repa
+"""
+
+import sys
+
+from repa.main import sub_main
+
+class Test(object):
+ """Subcommand: test."""
+
+ name = 'test'
+ description = 'Test repa command plugin'
+ help = description
+
+ @staticmethod
+ def add_arguments(parser):
+ """Adds arguments to the parser. Called from [sub_]main."""
+ parser.add_argument('--opt', help='test option')
+
+ def run(self, argv):
+ """Command line entry point."""
+ print '%s: Not implemented yet' % self.help
+ print 'paremeter: %s' % argv.opt
+
+
+if __name__ == '__main__':
+ sys.exit(sub_main(sys.argv[1:], Test()))
--- /dev/null
+#!/usr/bin/env python
+
+"""
+REPA: Release Engineering Process Assistant.
+
+Copyright (C) Intel Corporation 2013
+Licence: GPL version 2
+Author: Ed Bartosh <eduard.bartosh@intel.com>
+
+Setup module for example repa plugin
+"""
+
+from setuptools import setup
+
+setup(name = "repa_plugin",
+ version = '0.0.1',
+ author = 'Ed Bartosh',
+ author_email = 'eduard.bartosh@intel.com',
+ packages = ['repa_plugin'],
+ entry_points = {
+ 'repa_commands': ['repa_plugin = repa_plugin.plugin:Test']
+ }
+)