Repository navigation
docs: a Command line page for sluiceway v0.45.0, its commands, their --json answers and exit codes - #23
Merged
Conversation
…--json answers and exit codes Follow sluiceway v0.45.0. The page reads the action's docs/command-line.md, so the links the action's own pages make to it land here, and adds one example of each command with what it prints and its --json answer. A test holds every example the app answers to the app's OpenAPI document at the pinned tag. Using the app links to it from ticking and the audit log. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follows sluiceway v0.45.0 and adds a Command line page to the Hosted app section, at
hosted-app/command-line/, between Using the app and What the app keeps.What changes
branchline of.gitmodules, as Renovate moves them.bun run pinandbun run releaseagree.docs/command-line.mdat the tag (pages.ts), like every other page from the action, so the linksdocs/init.md,docs/reference.mdand record 0116 make to it land here and not on GitHub. It covers installing (npx,npm i -g, the five binaries with theSHA256SUMScheck and the macOSxattrline), signing in with a token from the app's Tokens page, each command, exit codes for agents, and that every action counts as the person and shows in the audit log "via the command line".src/lib/command-line.ts):login,status,stack,tick(with the--yesrefusal),rescan,settingsandset,logout, and two failures, each with what it prints and its--jsonanswer. The output is what the CLI at v0.45.0 prints against the fake app in the action's own tests, which the action holds to the app's OpenAPI document.test/command-line.test.ts) holds every app answer on the page to the schema the action's copy of that document (test/fixtures/app/openapi.json) names for it, checks that each failure'sexitmatches, and that every command the action's table lists has an example. A renamed field fails CI here.Checked
bun run check(lint, tokens, pin, release, typecheck, build, 609 tests) under/docs, and build, tests andbun run linksunderhttps://docs.sluiceway.dev/: 32276 links on 148 pages, all land.For the owner
https://docs.sluiceway.dev/hosted-app/command-line/.🤖 Generated with Claude Code