refactor: rename bin/ package to myclaude/
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
from bin.cli import main
|
|
||||||
|
|
||||||
main()
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
from myclaude.cli import main
|
||||||
|
|
||||||
|
main()
|
||||||
@@ -9,8 +9,8 @@ from pathlib import Path
|
|||||||
import click
|
import click
|
||||||
from rich.console import Console
|
from rich.console import Console
|
||||||
|
|
||||||
from bin.commands import update_cmd, upgrade_cmd
|
from myclaude.commands import update_cmd, upgrade_cmd
|
||||||
from bin.project_root import get_workspace_root
|
from myclaude.project_root import get_workspace_root
|
||||||
|
|
||||||
stderr_console = Console(stderr=True)
|
stderr_console = Console(stderr=True)
|
||||||
|
|
||||||
@@ -6,7 +6,7 @@ from pathlib import Path
|
|||||||
|
|
||||||
from rich.console import Console
|
from rich.console import Console
|
||||||
|
|
||||||
from bin.project_root import get_myclaude_project_root, get_workspace_root
|
from myclaude.project_root import get_myclaude_project_root, get_workspace_root
|
||||||
|
|
||||||
console = Console()
|
console = Console()
|
||||||
stderr_console = Console(stderr=True)
|
stderr_console = Console(stderr=True)
|
||||||
@@ -7,8 +7,8 @@ from pathlib import Path
|
|||||||
import click
|
import click
|
||||||
from rich.console import Console
|
from rich.console import Console
|
||||||
|
|
||||||
from bin.commands.init import sync_workspace_links
|
from myclaude.commands.init import sync_workspace_links
|
||||||
from bin.project_root import get_myclaude_project_root
|
from myclaude.project_root import get_myclaude_project_root
|
||||||
|
|
||||||
console = Console()
|
console = Console()
|
||||||
stderr_console = Console(stderr=True)
|
stderr_console = Console(stderr=True)
|
||||||
+2
-2
@@ -9,7 +9,7 @@ dependencies = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
myclaude = "bin.cli:cli"
|
myclaude = "myclaude.cli:cli"
|
||||||
|
|
||||||
[dependency-groups]
|
[dependency-groups]
|
||||||
dev = ["pytest>=8.0"]
|
dev = ["pytest>=8.0"]
|
||||||
@@ -23,7 +23,7 @@ requires = ["hatchling"]
|
|||||||
build-backend = "hatchling.build"
|
build-backend = "hatchling.build"
|
||||||
|
|
||||||
[tool.hatch.build.targets.wheel]
|
[tool.hatch.build.targets.wheel]
|
||||||
packages = ["bin"]
|
packages = ["myclaude"]
|
||||||
|
|
||||||
[tool.black]
|
[tool.black]
|
||||||
line-length = 80
|
line-length = 80
|
||||||
|
|||||||
Reference in New Issue
Block a user