Repository navigation
docs: onctl claude login in full, and a subcommand list - #1255
Merged
Merged
Conversation
The Claude page gave onctl claude login two lines. Say what it does: runs claude setup-token (Pro/Max/Team/Enterprise), or takes a piped token; keeps it in the Keychain or ~/.onctl/claude/oauth-token; hands it to each box's Claude in its environment, never on disk; can only make model requests, so --claude-auth login for Remote Control or connectors. Table the four --claude-auth modes, and add a subcommand list (login, logout, ls, fetch, push) so they're findable. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J3DrQy8Pdg8KsM31aMxJaM
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1255 +/- ##
=======================================
Coverage 47.78% 47.78%
=======================================
Files 81 81
Lines 9342 9342
=======================================
Hits 4464 4464
Misses 4878 4878 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Follow-up to #1252. The Claude page mentioned
onctl claude loginin two lines; this documents it fromcmd/claudeauth.go's help text:/loginonctl claude loginrunsclaude setup-token(Pro, Max, Team or Enterprise plan), or takes a token piped in~/.onctl/claude/oauth-token(0600); handed to each box's Claude in its environment, never on the box's disk;logoutforgets it--claude-auth login--claude-authmodes (auto,token,login,api-keyviaANTHROPIC_API_KEY)Also a Subcommands section listing
login,logout,ls,fetchandpushwith links to the sections that explain them, so they can be found from the reference part of the page.npm run buildpasses with no broken links.🤖 Generated with Claude Code
https://claude.ai/code/session_01J3DrQy8Pdg8KsM31aMxJaM