diff options
| author | Kenneth Reitz <me@kennethreitz.com> | 2010-07-13 09:30:14 -0400 |
|---|---|---|
| committer | Kenneth Reitz <me@kennethreitz.com> | 2010-07-13 09:30:14 -0400 |
| commit | 00dfe719d1550891428e80de13f0979996f31ae9 (patch) | |
| tree | 34ff58f9c73716ca127eb9256c3e11be8a6cb57d /tabbed/cli.py | |
| parent | 4525bca7f9651e8e90297ce7d70f745632e77dd9 (diff) | |
| download | tablib-00dfe719d1550891428e80de13f0979996f31ae9.tar.gz | |
ultra simple cli interface
Diffstat (limited to 'tabbed/cli.py')
| -rw-r--r-- | tabbed/cli.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tabbed/cli.py b/tabbed/cli.py index e69de29..0d17c09 100644 --- a/tabbed/cli.py +++ b/tabbed/cli.py @@ -0,0 +1,23 @@ +#!/usr/bin/env python +# encoding: utf-8 + + +from helpers import * +# from core import Parse + +from packages import opster + + +opts = ( + ('v', 'version', False, 'Report tabbed version'), + ('', 'to', False, 'Output format') +) + + +@opster.command(options=opts, usage='[FILE] [--to] [FILE]') +def start(**opts): + """ Converts dataset formats """ + + print opts + + opts = Object(**opts
\ No newline at end of file |
