diff textshaper/main.py @ 43:21b6a9569f21

onelineit
author Jeff Hammel <k0scist@gmail.com>
date Wed, 03 Sep 2014 18:13:15 -0700
parents 8cf9a26b9aaa
children
line wrap: on
line diff
--- a/textshaper/main.py	Mon Aug 25 19:31:16 2014 -0700
+++ b/textshaper/main.py	Wed Sep 03 18:13:15 2014 -0700
@@ -12,6 +12,7 @@
 import time
 from .commands import Commands
 from .indent import deindent, indent
+from .onelineit import onelineit
 from .tablify import make_csv
 from .whitespace import underscore
 from which import which
@@ -41,6 +42,7 @@
     commands = Commands()
     commands.add(indent, 'i')
     commands.add(deindent, 'd')
+    commands.add(onelineit, 'o')
     commands.add(underscore, 'u')
     commands.add(make_csv, 'c')
     return commands