Skip to content

Commit

Permalink
move import and setting to main
Browse files Browse the repository at this point in the history
  • Loading branch information
SageGJ committed Jan 28, 2025
1 parent b09c977 commit 6003056
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions schematic/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
import click
import click_log

from synapseclient import USER_AGENT

from schematic.manifest.commands import (
manifest as manifest_cli,
) # get manifest commands
Expand All @@ -18,7 +16,6 @@
) # viz generation commands
from schematic import __version__, USER_AGENT_COMMAND_LINE

USER_AGENT |= USER_AGENT_COMMAND_LINE

logger = logging.getLogger()
click_log.basic_config(logger)
Expand All @@ -35,6 +32,10 @@ def main():
"""
Command line interface to the `schematic` backend services.
"""
from synapseclient import USER_AGENT

USER_AGENT |= USER_AGENT_COMMAND_LINE

logger.info("Starting schematic...")
logger.debug("Existing sub-commands need to be used with schematic.")

Expand Down

0 comments on commit 6003056

Please sign in to comment.