Commits

Konstantine Rybnikov  committed b194dfb Draft

Some initial code.

  • Participants

Comments (0)

Files changed (3)

+module ReadHelp where
+
+readHelp :: String -> String
+readHelp input = input
+import ReadHelp (readHelp)
+
+main :: IO ()
+main = interact readHelp

File testdata/manage_py.txt

+THIS IS (shwp-env)shwp ➤ python manage.py test --help
+
+Usage: manage.py test [options] [appname ...]
+
+Runs the test suite for the specified applications, or the entire site if no apps are specified.
+
+Options:
+  -v VERBOSITY, --verbosity=VERBOSITY
+                        Verbosity level; 0=minimal output, 1=normal output,
+                        2=all output
+  --settings=SETTINGS   The Python path to a settings module, e.g.
+                        "myproject.settings.main". If this isn't provided, the
+                        DJANGO_SETTINGS_MODULE environment variable will be
+                        used.
+  --pythonpath=PYTHONPATH
+                        A directory to add to the Python path, e.g.
+                        "/home/djangoprojects/myproject".
+  --traceback           Print traceback on exception
+  --noinput             Tells Django to NOT prompt the user for input of any
+                        kind.
+  --failfast            Tells Django to stop running the test suite after
+                        first failed test.
+  --version             show program's version number and exit
+  -h, --help            show this help message and exit
+