Skip to content
This repository was archived by the owner on Jun 22, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions jvcli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
from jvcli.commands.client import client
from jvcli.commands.create import create
from jvcli.commands.download import download
from jvcli.commands.graph import graph
from jvcli.commands.info import info
from jvcli.commands.publish import publish
from jvcli.commands.server import server
from jvcli.commands.startproject import startproject
from jvcli.commands.studio import studio
from jvcli.commands.update import update


Expand All @@ -28,7 +28,7 @@ def jvcli() -> None:
jvcli.add_command(download)
jvcli.add_command(publish)
jvcli.add_command(info)
jvcli.add_command(studio)
jvcli.add_command(graph)
jvcli.add_command(client)
jvcli.add_command(startproject)
jvcli.add_command(server)
Expand Down
24 changes: 24 additions & 0 deletions jvcli/commands/graph.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
"""JVGraph command group for deploying and interfacing with the Jivas Graph."""

import subprocess

import click


@click.group()
def graph() -> None:
"""Group for managing Jivas Studio resources."""
pass # pragma: no cover


@graph.command()
@click.option("--port", default=8989, help="Port for jvgraph to launch on.")
@click.option(
"--require-auth", default=False, help="Require authentication for jvgraph api."
)
def launch(port: int, require_auth: bool) -> None:
"""Launch the Jivas Studio on the specified port."""
# run jvgraph launch command as subprocess
subprocess.run(
["jvgraph", "launch", "--port", str(port), "--require-auth", str(require_auth)]
)
258 changes: 0 additions & 258 deletions jvcli/commands/studio.py

This file was deleted.

Loading