Skip to content

Commit 3228e5e

Browse files
author
codegen-bot
committed
.
1 parent 12868a0 commit 3228e5e

File tree

1 file changed

+1
-5
lines changed
  • src/codegen/cli/commands/start

1 file changed

+1
-5
lines changed

src/codegen/cli/commands/start/main.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,12 @@
77
from rich.box import ROUNDED
88
from rich.panel import Panel
99

10-
from codegen.cli.auth.session import CodegenSession
11-
from codegen.cli.workspace.decorators import requires_init
12-
1310

1411
@click.command(name="start")
15-
@requires_init
1612
@click.option("--platform", "-t", type=click.Choice(["linux/amd64", "linux/arm64", "linux/amd64,linux/arm64"]), default="linux/amd64,linux/arm64", help="Target platform(s) for the Docker image")
1713
@click.option("--port", "-p", type=int, default=8000)
1814
@click.option("--detached", "-d", is_flag=True, default=False, help="Starts up the server as detached background process")
19-
def start_command(session: CodegenSession, port: int, platform: str, detached: bool):
15+
def start_command(port: int, platform: str, detached: bool):
2016
"""Starts a local codegen server"""
2117
codegen_version = version("codegen")
2218
rich.print(codegen_version)

0 commit comments

Comments
 (0)