diff options
author | Frederick Muriuki Muriithi | 2023-05-26 13:21:33 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-05-26 13:21:33 +0300 |
commit | fe075ee5c8852fddc0a229d1b90d77bff9dca003 (patch) | |
tree | 0c60079bf5b6eca22e75a63540b4ab22936af78f /main.py | |
parent | 88d4f61e4df7dcffaaed083989c75ee9ad4a48a4 (diff) | |
download | genenetwork3-fe075ee5c8852fddc0a229d1b90d77bff9dca003.tar.gz |
Document CLI Utility Commands
Document some CLI utility commands useful for development and for supporting
the operation of the GN3 app.
Diffstat (limited to 'main.py')
-rw-r--r-- | main.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -108,6 +108,12 @@ def assign_system_admin(user_id: uuid.UUID): file=sys.stderr) sys.exit(1) +@app.cli.command() +def make_data_public(): + """Make existing data that is not assigned to any group publicly visible.""" + from scripts.migrate_existing_data import entry + entry(app.config["AUTH_DB"], app.config["SQL_URI"]) + ##### END: CLI Commands ##### if __name__ == '__main__': |