diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-01-15 15:58:04 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-01-15 15:58:04 +0200 |
commit | 1373fd244c538cc46a34b1a21ebe06f55ff416c0 (patch) | |
tree | 20e2b2cb3218184da05274d0715be94fa0090ffe /example.py | |
parent | 5f83c736bfb813f77a66def98eceea45e85bbbad (diff) | |
download | cliapp-1373fd244c538cc46a34b1a21ebe06f55ff416c0.tar.gz |
Add --version support.
Diffstat (limited to 'example.py')
-rw-r--r-- | example.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/example.py b/example.py new file mode 100644 index 0000000..3f160e6 --- /dev/null +++ b/example.py @@ -0,0 +1,26 @@ +# Copyright 2011 Lars Wirzenius +# +# 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, either version 3 of the License, or +# (at your option) any later version. +# +# 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, see <http://www.gnu.org/licenses/>. + + +import cliapp + + +class ExampleApp(cliapp.Application): + + pass + + +ExampleApp().run() + |