Skip to content

Commit 454336a

Browse files
authored
chore: rename CLI repo (#83)
1 parent abc5a0c commit 454336a

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.github/workflows/e2e.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
id: tusk-version
8585
run: |
8686
VERSION=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
87-
"https://api.github.com/repos/Use-Tusk/tusk-drift-cli/releases/latest" \
87+
"https://api.github.com/repos/Use-Tusk/tusk-cli/releases/latest" \
8888
| grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
8989
echo "version=$VERSION" >> $GITHUB_OUTPUT
9090
echo "Latest Tusk CLI version: $VERSION"
@@ -195,7 +195,7 @@ jobs:
195195
id: tusk-version
196196
run: |
197197
VERSION=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
198-
"https://api.github.com/repos/Use-Tusk/tusk-drift-cli/releases/latest" \
198+
"https://api.github.com/repos/Use-Tusk/tusk-cli/releases/latest" \
199199
| grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
200200
echo "version=$VERSION" >> $GITHUB_OUTPUT
201201
echo "Latest Tusk CLI version: $VERSION"
@@ -299,7 +299,7 @@ jobs:
299299
id: tusk-version
300300
run: |
301301
VERSION=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
302-
"https://api.github.com/repos/Use-Tusk/tusk-drift-cli/releases/latest" \
302+
"https://api.github.com/repos/Use-Tusk/tusk-cli/releases/latest" \
303303
| grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
304304
echo "version=$VERSION" >> $GITHUB_OUTPUT
305305
echo "Latest Tusk CLI version: $VERSION"

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<a href="https://join.slack.com/t/tusk-community/shared_invite/zt-3fve1s7ie-NAAUn~UpHsf1m_2tdoGjsQ"><img src="https://img.shields.io/badge/slack-badge?style=flat&logo=slack&label=Tusk&color=BF40BF" alt="Tusk Community Slack"></a>
1111
</p>
1212

13-
The Python Tusk Drift SDK enables fast and deterministic API testing by capturing and replaying API calls made to/from your service. Automatically record real-world API calls, then replay them as tests using the [Tusk CLI](https://github.com/Use-Tusk/tusk-drift-cli) to find regressions. During replay, all outbound requests are intercepted with recorded data to ensure consistent behavior without side-effects.
13+
The Python Tusk Drift SDK enables fast and deterministic API testing by capturing and replaying API calls made to/from your service. Automatically record real-world API calls, then replay them as tests using the [Tusk CLI](https://github.com/Use-Tusk/tusk-cli) to find regressions. During replay, all outbound requests are intercepted with recorded data to ensure consistent behavior without side-effects.
1414

1515
<div align="center">
1616

@@ -67,7 +67,7 @@ If you're using packages or versions not listed above, please create an issue wi
6767

6868
### Step 1: Install the CLI
6969

70-
First, install the Tusk Drift CLI by following our [CLI installation guide](https://github.com/Use-Tusk/tusk-drift-cli?tab=readme-ov-file#install).
70+
First, install the Tusk Drift CLI by following our [CLI installation guide](https://github.com/Use-Tusk/tusk-cli?tab=readme-ov-file#install).
7171

7272
### Step 2: Set up Tusk Drift
7373

@@ -78,7 +78,7 @@ Use our AI agent to automatically set up Tusk Drift for your service:
7878
```bash
7979
cd path/to/your/service
8080
export ANTHROPIC_API_KEY=your-api-key
81-
tusk setup
81+
tusk drift setup
8282
```
8383

8484
The agent will analyze your codebase, install the SDK, instrument it into your application, create configuration files, and test the setup with recording and replay.
@@ -99,7 +99,7 @@ Alternatively, you can set up Tusk Drift manually:
9999

100100
*For more information about Rust acceleration, refer to [this doc](docs/rust-core-bindings).*
101101

102-
2. Create configuration: Run `tusk init` to create your `.tusk/config.yaml` config file interactively, or create it manually per the [configuration docs](https://github.com/Use-Tusk/tusk-drift-cli/blob/main/docs/configuration.md).
102+
2. Create configuration: Run `tusk init` to create your `.tusk/config.yaml` config file interactively, or create it manually per the [configuration docs](https://github.com/Use-Tusk/tusk-cli/blob/main/docs/drift/configuration.md).
103103

104104
3. Initialize the SDK: Refer to the [initialization guide](docs/initialization.md) to instrument the SDK in your service.
105105

docs/initialization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
Before setting up the SDK, ensure you have:
66

77
- Python 3.9 or later installed
8-
- Installed the [Tusk Drift CLI](https://github.com/Use-Tusk/tusk-drift-cli?tab=readme-ov-file#install)
8+
- Installed the [Tusk Drift CLI](https://github.com/Use-Tusk/tusk-cli?tab=readme-ov-file#install)
99
- Obtained an API key from the [Tusk Drift dashboard](https://usetusk.ai/app/settings/api-keys) (only required if using Tusk Cloud)
1010

1111
> [!TIP]
12-
> For automated setup, use `tusk setup` which handles SDK installation and initialization for you.
12+
> For automated setup, use `tusk drift setup` which handles SDK installation and initialization for you.
1313
> The steps below are for manual setup.
1414
1515
## Step 1: Install the SDK

docs/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ You should see an output similar to:
4949

5050
Press `ESC` to exit the list view.
5151

52-
Need to install the Tusk CLI? See [CLI installation guide](https://github.com/Use-Tusk/tusk-drift-cli?tab=readme-ov-file#install).
52+
Need to install the Tusk CLI? See [CLI installation guide](https://github.com/Use-Tusk/tusk-cli?tab=readme-ov-file#install).
5353

5454
## Step 6: Replay the Trace
5555

drift/instrumentation/e2e_common/Dockerfile.base

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ARG TUSK_CLI_VERSION=latest
2424
RUN set -ex && \
2525
if [ "$TUSK_CLI_VERSION" = "latest" ]; then \
2626
# Get the latest version tag
27-
VERSION=$(curl -s https://api.github.com/repos/Use-Tusk/tusk-drift-cli/releases/latest | grep '"tag_name"' | cut -d '"' -f 4); \
27+
VERSION=$(curl -s https://api.github.com/repos/Use-Tusk/tusk-cli/releases/latest | grep '"tag_name"' | cut -d '"' -f 4); \
2828
else \
2929
VERSION="${TUSK_CLI_VERSION}"; \
3030
fi && \
@@ -37,8 +37,8 @@ RUN set -ex && \
3737
aarch64|arm64) ARCH_NAME="arm64" ;; \
3838
*) echo "Unsupported architecture: $ARCH" && exit 1 ;; \
3939
esac && \
40-
# Construct download URL (archives are named like tusk-drift-cli_0.1.35_Linux_x86_64.tar.gz)
41-
DOWNLOAD_URL="https://github.com/Use-Tusk/tusk-drift-cli/releases/download/${VERSION}/tusk-drift-cli_${VERSION_NUM}_Linux_${ARCH_NAME}.tar.gz" && \
40+
# Construct download URL (archives are named like tusk-cli_0.1.35_Linux_x86_64.tar.gz)
41+
DOWNLOAD_URL="https://github.com/Use-Tusk/tusk-cli/releases/download/${VERSION}/tusk-cli_${VERSION_NUM}_Linux_${ARCH_NAME}.tar.gz" && \
4242
echo "Downloading Tusk CLI from: $DOWNLOAD_URL" && \
4343
curl -fsSL "$DOWNLOAD_URL" -o /tmp/tusk.tar.gz && \
4444
tar -xzf /tmp/tusk.tar.gz -C /tmp && \

0 commit comments

Comments
 (0)