Skip to content

Commit

Permalink
Fix #1030: add neo4j_database param to CLI (#1031)
Browse files Browse the repository at this point in the history
* Fix #1030: add neo4j_database param to CLI

* 0.66.1
  • Loading branch information
Alex Chantavy authored Nov 14, 2022
1 parent dca7c82 commit c14ef09
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions cartography/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,16 @@ def _build_parser(self):
'.'
),
)
parser.add_argument(
'--neo4j-database',
type=str,
default=None,
help=(
'The name of the database in Neo4j to connect to. If not specified, uses the config settings of your '
'Neo4j database itself to infer which database is set to default. '
'See https://neo4j.com/docs/api/python-driver/4.4/api.html#database.'
),
)
# TODO add the below parameters to a 'sync' subparser
parser.add_argument(
'--update-tag',
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import find_packages
from setuptools import setup

__version__ = '0.66.0'
__version__ = '0.66.1'


setup(
Expand Down

0 comments on commit c14ef09

Please sign in to comment.