cli: set verbose flag for pull in langgraph build (#955)

* Set verbose flag for langgraph build.

* Update CLI README.
This commit is contained in:
Andrew Nguonly
2024-07-08 17:46:21 -07:00
committed by GitHub
parent 878567f6b0
commit bb6785bbef
2 changed files with 9 additions and 1 deletions
+8 -1
View File
@@ -1,3 +1,10 @@
# langchain-cli
This package implements the official CLI for LangGraph API.
This package implements the official CLI for LangGraph API.
## How to Test CLI Changes Locally
These instructions are for CLI development and testing. Use the CLI examples to test CLI changes locally.
1. Make changes to the CLI code.
1. Navigate to the `libs/cli/examples`: `cd libs/cli/examples`
1. Install CLI examples dependencies: `poetry install`
1. Run/test CLI command (e.g. `langgraph build`).
+1
View File
@@ -369,6 +369,7 @@ def _build(
"docker",
"pull",
f"{base_image}:{config_json['python_version']}",
verbose=True,
)
)
set("Building...")