docs(claude): drop the deleted dev up CLI from seeded orientation files

The matured dev-env backport removed dev.sh (which provided
`dev up/down/logs/shell`) but the seeded CLAUDE.md files still told
users — and Claude sessions, since these symlink into ~/dev/ — to run
those commands. `dev` is now just a nav function (cd $DEV_ROOT), so
`dev up` silently cd'd and started nothing.

Rewrite both Quick-commands / Default-dev-workflow sections to the real
command set (lb/prb/dev-status/regtest-start/dev-deploy) and document
that FakeWallet startup is manual — there is no `dev up` wrapper.
This commit is contained in:
Padreug 2026-06-20 09:50:39 +02:00
commit 11cf5aa0cf
2 changed files with 36 additions and 9 deletions

View file

@ -26,13 +26,30 @@ PR contract in `upstream-prs/`. See the lnbits-sensei README's
## Quick commands
- `dev up [--fakewallet|--regtest]` — start the lnbits dev server.
Default `--fakewallet` is instant, no docker, good for
extension/UI/API work.
- `dev down` / `dev logs` / `dev shell` — control / inspect.
- *(planned)* `prb <repo> <branch>` — create a PR worktree branched
from `upstream/main` under `~/dev/upstream-prs/`.
- *(planned)* `lb <worktree>` — cd shortcut into `~/dev/lnbits/<worktree>`.
Installed by lnbits-sensei's dev-env module — standalone binaries plus
shell functions sourced into interactive shells:
- `dev-env-bootstrap` — materialize bare repos + worktrees from your
declared `projects` (idempotent; `--dry-run` to preview).
- `lb <worktree>` — cd into `~/dev/lnbits/<worktree>` (e.g. `lb dev`).
`g <category> <repo>`, `ext <name>`, `prs`, `shared`, `repos` cover
the rest of the tree.
- `prb <repo> <branch>` — create a PR worktree branched from
`upstream/main` under `~/dev/upstream-prs/`; `prc` cleans up, `prl`
lists.
- `dev-status` — dirty + ahead/behind across every worktree. `wts` /
`wtu` sync worktrees / fetch upstream; `rebase status` shows which
forks need rebasing onto upstream.
- `regtest-start <worktree>` / `regtest-stop` — Bitcoin/Lightning
regtest stack (only when `devEnv.regtest.enable = true`; needs docker).
- `dev-deploy <host>``nixos-rebuild` against your deploy flake.
`dev-tm <session>` — launch a declarative tmux session.
**Starting lnbits for iteration:** there is no `dev up` wrapper.
FakeWallet (`LNBITS_BACKEND_WALLET_CLASS=FakeWallet`) is the default
path — no docker; run lnbits directly from the worktree (`lb dev`, then
lnbits's own run command). Use `regtest-start` only when you need real
channels/payments.
## Reference docs