Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions oc-cmd-compare/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ bun link
mpc --help
```

Working on the CLI itself? `bun run dev:link` points `mpcdev` at this checkout, so the
published `mpc` keeps running the installed release while `mpcdev` runs your edits:

```sh
bun run dev:link
mpcdev --version # this checkout
mpc --version # the published install
```

## Usage

```sh
Expand Down
5 changes: 3 additions & 2 deletions oc-cmd-compare/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jeffreyjyz/mpc",
"version": "0.1.7",
"version": "0.1.8",
"description": "Compare model pricing across opencode Go and Command Code plans",
"license": "MIT",
"type": "module",
Expand All @@ -22,7 +22,8 @@
"start": "bun run src/index.ts",
"test": "bun test",
"lint": "biome lint --write .",
"typecheck": "bun check"
"typecheck": "bun check",
"dev:link": "ln -sfn \"$PWD/src/index.ts\" \"$HOME/.bun/bin/mpcdev\""
},
"devDependencies": {
"@biomejs/biome": "^2.5.13",
Expand Down
Loading