[Serve] Add a minimal cli (#5854)

* Add a minimal cli

* Integrate serve_cli with ray scripts
This commit is contained in:
Simon Mo
2019-10-28 09:51:31 -07:00
committed by GitHub
parent 085a6713a0
commit e08b5d0cae
2 changed files with 57 additions and 0 deletions
+7
View File
@@ -827,6 +827,13 @@ cli.add_command(timeline)
cli.add_command(project_cli)
cli.add_command(session_cli)
try:
from ray.experimental.serve.scripts import serve_cli
cli.add_command(serve_cli)
except Exception as e:
logger.debug(
"Integrating ray serve command line tool failed with {}".format(e))
def main():
return cli()