Skip to content

Commit

Permalink
fix cli
Browse files Browse the repository at this point in the history
  • Loading branch information
Ouziel committed Jan 14, 2025
1 parent 91abaf2 commit f3f44c6
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions counterparty-core/counterpartycore/lib/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import cli # noqa F401
Empty file.
1 change: 1 addition & 0 deletions counterparty-core/counterpartycore/lib/cli/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import main # noqa F401
5 changes: 2 additions & 3 deletions counterparty-core/counterpartycore/lib/cli/main.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
#! /usr/bin/env python3

import argparse
import logging
import os
from urllib.parse import quote_plus as urlencode

from termcolor import cprint

from counterpartycore import server
from counterpartycore.lib import config
from counterpartycore.lib.api import dbbuilder
from counterpartycore.lib.cli import bootstrap, setup
from counterpartycore.lib.tools import sentry
from termcolor import cprint

logger = logging.getLogger(config.LOGGER_NAME)

Expand Down
Empty file.
Empty file.
Empty file.
2 changes: 1 addition & 1 deletion counterparty-core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pre-install-commands = [
]

[project.scripts]
counterparty-server = "counterpartycore:cli.main.main"
counterparty-server = "counterpartycore:lib.cli.main.main"

[tool.license_scanner]
allowed-licences = [
Expand Down

0 comments on commit f3f44c6

Please sign in to comment.