Skip to content

Commit

Permalink
refactor(args): rename support module
Browse files Browse the repository at this point in the history
  • Loading branch information
lt-mayonesa committed Apr 1, 2023
1 parent e4c0581 commit 26c3cd5
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion hexagon/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

from hexagon.domain import cli, tools, envs
from hexagon.plugins import collect_plugins
from hexagon.support.args import parse_cli_args
from hexagon.support.execute.tool import select_and_execute_tool
from hexagon.support.help import print_help
from hexagon.support.hooks import HexagonHooks
from hexagon.support.parse_args import parse_cli_args
from hexagon.support.printer import log
from hexagon.support.storage import (
HexagonStorageKeys,
Expand Down
2 changes: 1 addition & 1 deletion hexagon/actions/external/docker_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import requests
from InquirerPy import inquirer

from hexagon.support.args import cli_arg
from hexagon.support.parse_args import cli_arg
from hexagon.support.printer import log
from hexagon.support.tracer import tracer

Expand Down
2 changes: 1 addition & 1 deletion hexagon/support/execute/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
from hexagon.domain.args import CliArgs
from hexagon.domain.env import Env
from hexagon.domain.tool import ActionTool
from hexagon.support.args import init_arg_parser
from hexagon.support.execute.execution_hook import execution_hook
from hexagon.support.parse_args import init_arg_parser
from hexagon.support.printer import log
from hexagon.support.tracer import tracer

Expand Down
2 changes: 1 addition & 1 deletion hexagon/support/execute/tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
ToolType,
)
from hexagon.domain.tool.execution import ToolExecutionParameters
from hexagon.support.args import CliArgs, parse_cli_args
from hexagon.support.execute.action import execute_action
from hexagon.support.hooks import HexagonHooks
from hexagon.support.parse_args import CliArgs, parse_cli_args
from hexagon.support.tracer import tracer
from hexagon.support.wax import search_by_name_or_alias, select_env, select_tool

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion hexagon/support/tracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from hexagon.domain.env import Env
from hexagon.domain.tool import ToolType, ActionTool, GroupTool
from hexagon.support.args import CliArgs
from hexagon.support.parse_args import CliArgs


class Tracer:
Expand Down
2 changes: 1 addition & 1 deletion tests/support/test_parse_cli_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from pydantic import ValidationError, BaseModel

from hexagon.domain.args import PositionalArg, OptionalArg
from hexagon.support.args import parse_cli_args, __should_support_multiple_args
from hexagon.support.parse_args import parse_cli_args, __should_support_multiple_args


def test_no_cli_args_passed():
Expand Down
2 changes: 1 addition & 1 deletion tests/support/test_tracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from hexagon.domain.env import Env
from hexagon.domain.tool import ActionTool, GroupTool, ToolType
from hexagon.support.args import parse_cli_args
from hexagon.support.parse_args import parse_cli_args
from hexagon.support.tracer import Tracer

tools_dict = [
Expand Down

0 comments on commit 26c3cd5

Please sign in to comment.