Repository: RockefellerArchiveCenter/DACSspace

Issue:
TypeError when running dacsspace
**Describe the bug**
When running dacsspace I get this error:
`TypeError: _StoreAction.__init__() got an unexpected keyword argument 'typ'`

**To Reproduce**
Steps to reproduce the behavior:
1. `dacsspace test.csv`
4. See error `TypeError: _StoreAction.__init__() got an unexpected keyword argument 'typ'`

**Expected behavior**
The script to run :)

**Additional context**
Found this [article](https://stackoverflow.com/questions/33574270/typeerror-init-got-an-unexpected-keyword-argument-type-in-argparse), seems like it's argparse messing things up?


Discussion:

Patch:
diff --git a/dacsspace/command_line.py b/dacsspace/command_line.py
index d96267a..78bf994 100644
--- a/dacsspace/command_line.py
+++ b/dacsspace/command_line.py
@@ -14,7 +14,7 @@ def main():
     parser.add_argument(
         '--as_config',
         help='Filepath for ArchivesSpace configuration file',
-        typ=str,
+        type=str,
         default='as_config.cfg')
     parser.add_argument(
         '--published_only',
diff --git a/requirements.in b/requirements.in
index 94960cd..2db699d 100644
--- a/requirements.in
+++ b/requirements.in
@@ -1,3 +1,3 @@
 ArchivesSnake==0.9.1
 requests==2.27.1
-jsonschema==4.4.0
+jsonschema==4.6.0
diff --git a/requirements.txt b/requirements.txt
index 72a4b9e..50936a2 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -20,7 +20,7 @@ idna==3.3
     # via requests
 jarowinkler==1.0.2
     # via rapidfuzz
-jsonschema==4.4.0
+jsonschema==4.6.0
     # via -r requirements.in
 more-itertools==8.12.0
     # via archivessnake
diff --git a/setup.py b/setup.py
index 8de4b02..4116e84 100644
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ setup(
     long_description_content_type="text/markdown",
     author="Rockefeller Archive Center",
     author_email="archive@rockarch.org",
-    version="0.1.0",
+    version="0.1.1",
     license='MIT',
     packages=find_packages(),
     entry_points={
diff --git a/tox.ini b/tox.ini
index e3d0701..f16c325 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,13 +1,11 @@
 [tox]
 envlist = py310, linting
-skipsdist = True
 
 [testenv]
 deps =
 	-rrequirements.txt
 	pytest
 	coverage
-skip_install = True
 commands =
 	coverage run -m pytest -s
 	coverage report -m --omit=tests/*


Test patch:
diff --git a/tests/test_commandline.py b/tests/test_commandline.py
new file mode 100644
index 0000000..4c56358
--- /dev/null
+++ b/tests/test_commandline.py
@@ -0,0 +1,10 @@
+import os
+from unittest import TestCase
+
+
+class CommandLineTest(TestCase):
+
+    def test_command_line(self):
+        """Ensures command line interface does not contain typos."""
+        exit_status = os.system('dacsspace --help')
+        assert exit_status == 0