The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update README.md
Steven Tey238c96c34c5a
diff --git a/packages/cli/README.md b/packages/cli/README.mdindex 36663e90e2..5a404aa5cb 100644--- a/packages/cli/README.md+++ b/packages/cli/README.md@@ -1,3 +1,44 @@# `dub-cli`A CLI for easily shortening URLs with the [Dub.co API](https://dub.co/api).++## Running Locally for Development++1. Clone the repository, install dependencies and navigate to the cli folder:+ ```bash+ cd packages/cli+ ```+2. Build the package in watch mode:+ ```bash+ pnpm dev+ ```+3. In a separate terminal, run commands:+ ```bash+ pnpm start [command]+ ```+4. See all available commands and options:+ ```bash+ pnpm start help+ ```++## Testing Production-like Setup++> **Warning**+> If you have previously installed `dub-cli` globally, uninstall it first to avoid conflicts++1. Build the package:+ ```bash+ pnpm build+ ```+2. Link the package globally:+ ```bash+ npm link+ ```+3. Verify the installation:+ ```bash+ dub -v+ ```+4. Run commands:+ ```bash+ dub [command]+ ```