Skip to content

Commit

Permalink
Update helpers.py
Browse files Browse the repository at this point in the history
marcinguy authored Dec 13, 2024
1 parent 807415a commit 982ac56
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions checkmate/management/helpers.py
Original file line number Diff line number Diff line change
@@ -124,19 +124,3 @@ def get_project(project_path, project_config, settings, backend):

return project

def main():
parser = argparse.ArgumentParser(description="Checkmate backend configuration")
parser.add_argument('--backend', type=str, help="Specify the backend type (e.g., sqlite, sql)", default="sqlite")
parser.add_argument('--connection-string', type=str, help="Connection string for the backend", default=None)
args = parser.parse_args()

backend_type = args.backend
connection_string = args.connection_string

print(f"Using backend: {backend_type}")
if connection_string:
print(f"Using connection string: {connection_string}")

if __name__ == "__main__":
main()

0 comments on commit 982ac56

Please sign in to comment.