Skip to content

Commit cf3539e

Browse files
committed
refactor
cli -> repaired status
1 parent 571f8ed commit cf3539e

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

src/pymc_server/cli.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
import sky
33
from typing import Any, Dict, List, Optional, Tuple, Union
44
from pymc_server.utils.yaml import merge_yaml
5-
from pymc_server.launch_cli import launch as cli_launch,cli_launch_
6-
from pymc_server.launch_cli import launch_2
7-
from pymc_server.down_cli import down as down_cli
5+
#from pymc_server.commands.launch_cli import launch as cli_launch,cli_launch_
6+
from pymc_server.commands.launch_cli import launch_2
7+
from pymc_server.commands.down_cli import down as down_cli
88
from pymc_server.cli_factory import setup_launch_factory, setup_status_factory
99
from sky.usage import usage_lib
1010
from sky.cli import _get_shell_complete_args, _get_click_major_version, _complete_cluster_name, _NaturalOrderGroup, _DocumentedCodeCommand
@@ -29,10 +29,8 @@ def status(*args, **kwargs):
2929
ctx = click.get_current_context()
3030
#ctx.invoke(_status_test, *args, **kwargs)
3131
print("*args",*args)
32-
33-
3432
data = ctx.invoke(sky_status, *args, **kwargs)
35-
print("DATA",data)
33+
#print("DATA",data)
3634

3735
#ctx.invoke(sky_status, *args, **kwargs)
3836

@@ -98,6 +96,7 @@ def down(*args, **kwargs):
9896
"""Deletes a local cluster."""
9997

10098

99+
101100
cli.add_command(status)
102101
cli.add_command(launch)
103102
cli.add_command(check)
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)