tgl 0.4.0: merge PRs, create repos, labels, CI and npm.
New commands
tgl pr merge: Tangled's server applies the PR (like the website's merge button), then it is marked merged and the issues it fixes are closed.--dry-runonly checks for conflicts.tgl repo create: a new, empty repo on Tangled (--remotealso adds it as a git remote).tgl issue label/tgl pr label: add or remove labels;viewnow shows them.tgl label list | create | delete: the repo's own labels (simple, fixed choices, person, number, yes/no).tgl issue stale: labels open issues with no recent activity, and unlabels them when they get activity again.tgl repo view --webopens the repo in the browser.
Also
- CI pipelines can log in with
TGL_ACCOUNTandTGL_APP_PASSWORD(a pipeline secret). - Unit tests run on Tangled's spindle (Node 22 and 24) and on GitHub Actions (Linux, Windows, macOS; Node 20, 22, 24).
- Contribution guidelines in English and Spanish.
- Ready to publish on npm as
tangled-cli; the README installs withnpm install -g tangled-cli. - A clearer message when the account's server rate-limits logins.
Tried for real in a throwaway repo, checked on the Tangled website: repo creation, merging a PR (PR shown as merged, its issue closed), labels and custom labels, and stale labelling.