You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sync eng/common directory with azure-sdk-tools for PR 12454 (#43367)
* Revise tsp-client usage instructions in README
Updated usage instructions to use 'npm exec --prefix' for running tsp-client commands. The reason is `tsp-client` needs to resolve the input parameters based on the root folder of SDK repository.
* Update README.md to use brace expansion for variables
* Update README.md
---------
Co-authored-by: Ray Chen <[email protected]>
Copy file name to clipboardExpand all lines: eng/common/tsp-client/README.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,30 +25,32 @@ npm ci
25
25
26
26
## Usage
27
27
28
-
After installation, you can run tsp-client by navigating to the directory and using npm exec:
28
+
After installation, you can run `tsp-client` using `npm exec --prefix {path_to_the_eng/common/tsp-client}`.
29
+
Note that you should *not* navigate into the `eng/common/tsp-client` folder, since several `tsp-client` commands require the current working directory to be the client library's root.
29
30
30
31
```bash
31
-
cd eng/common/tsp-client
32
+
# Set the tsp-client directory path relative to your current working directory
0 commit comments