From e731c3bc41989b671eef325aae1352f13ddb0898 Mon Sep 17 00:00:00 2001 From: bjschuma Date: Tue, 16 Feb 2010 23:52:39 -0500 Subject: [PATCH] Added about plugin for version information --- src/core/about.py | 21 +++++++++++++++++++++ src/doc/newFeatures.txt | 3 ++- src/doc/todo.txt | 1 - 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 src/core/about.py diff --git a/src/core/about.py b/src/core/about.py new file mode 100644 index 00000000..3f3f1c9e --- /dev/null +++ b/src/core/about.py @@ -0,0 +1,21 @@ +# Basic plugin class + +__author__="bjschuma" +__date__ ="$Feb 16, 2010 11:50:14 PM$" + + +from bt import plugin +from bt.message import write + + +class Plugin(plugin.Plugin): + def __init__(self): + plugin.Plugin.__init__(self) + self.help = "Prints information about scion" + + + def run(self, args=None): + write("Scion Version 1.3") + write("Created by Bryan Schumaker") + write("2009 - 2010") + diff --git a/src/doc/newFeatures.txt b/src/doc/newFeatures.txt index 71ae036d..87cc691f 100644 --- a/src/doc/newFeatures.txt +++ b/src/doc/newFeatures.txt @@ -6,4 +6,5 @@ Scion 1.3 New Features - Documentation for signals began 2 / 16 / 2010 -- Rename signals \ No newline at end of file +- Rename signals +- About plugin to give scion version information \ No newline at end of file diff --git a/src/doc/todo.txt b/src/doc/todo.txt index aeb537ad..b844089e 100644 --- a/src/doc/todo.txt +++ b/src/doc/todo.txt @@ -26,5 +26,4 @@ Scion To-Do List - Better way to list signals, aliases, and settings - Command line options for plugins - Command line optionss to disable signals and/or scripting -- About plugin to give scion version information - Plugin sub-function help ("help plugins disable")