We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d5f238 commit e83d06dCopy full SHA for e83d06d
bin/textplot
@@ -0,0 +1,24 @@
1
+#!/usr/bin/env python
2
+
3
4
+import click
5
6
7
+@click.group()
8
+def textplot():
9
+ pass
10
11
12
+@textplot.command()
13
+@click.argument('in_file', type=click.File('rt'))
14
+def generate(in_file):
15
16
+ """
17
+ Convert a text into a GML file.
18
19
20
+ click.echo('generate')
21
22
23
+if __name__ == '__main__':
24
+ textplot()
requirements.txt
@@ -7,3 +7,4 @@ nltk
networkx
clint
pytest
+click
setup.py
@@ -24,6 +24,7 @@
'networkx',
25
'clint',
26
'pytest',
27
+ 'click',
28
]
29
30
)
textplot/__init__.py
@@ -1,7 +1,5 @@
-import textplot.utils
-
from collections import OrderedDict
from textplot.text import Text
from textplot.matrix import Matrix
0 commit comments