summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2012-10-26 16:00:53 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2012-10-26 16:00:53 +0100
commita12988f095a5395960340d50116206e94b38441b (patch)
tree08d24916e67457884a2fa5dc645cd9291b3da982
parent05fbd34385432b32ce9ebf8cbad16561b831623f (diff)
downloaddefinitions-a12988f095a5395960340d50116206e94b38441b.tar.gz
Remove hello-plugin
We have several plugins now that can be used as examples, and since cliapp does not yet support hiding commands Morph currently has a futile 'morph hello' command listed in --help.
-rw-r--r--morphlib/plugins/hello_plugin.py29
1 files changed, 0 insertions, 29 deletions
diff --git a/morphlib/plugins/hello_plugin.py b/morphlib/plugins/hello_plugin.py
deleted file mode 100644
index 85fbdf28..00000000
--- a/morphlib/plugins/hello_plugin.py
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright (C) 2012 Codethink Limited
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; version 2 of the License.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
-
-import cliapp
-
-
-class Hello(cliapp.Plugin):
-
- def enable(self):
- self.app.add_subcommand('hello', self.hello, arg_synopsis='')
-
- def disable(self):
- pass
-
- def hello(self, args):
- self.app.output.write('hello, world\n')