Proposal: a redential doctor command that self-checks the environment and prints a short report: Node version vs the supported range, git present and version, whether the cwd is a git repository, whether a login session exists, and the installed CLI version. Exit 0 if all good, 1 with clear pointers if not.
Why: most support questions reduce to one of those checks, and "paste the output of redential doctor" is a much better first reply than a guessing round-trip. It also fits this CLI's posture: everything local, nothing sent anywhere.
Open questions: exact check list, whether it belongs in scope for a small CLI at this stage, and output format (human summary on TTY, --json for scripts, consistent with scan). This is a discussion issue; if there's appetite, it graduates to an implementation issue with a checklist.
Proposal: a
redential doctorcommand that self-checks the environment and prints a short report: Node version vs the supported range, git present and version, whether the cwd is a git repository, whether a login session exists, and the installed CLI version. Exit 0 if all good, 1 with clear pointers if not.Why: most support questions reduce to one of those checks, and "paste the output of redential doctor" is a much better first reply than a guessing round-trip. It also fits this CLI's posture: everything local, nothing sent anywhere.
Open questions: exact check list, whether it belongs in scope for a small CLI at this stage, and output format (human summary on TTY,
--jsonfor scripts, consistent withscan). This is a discussion issue; if there's appetite, it graduates to an implementation issue with a checklist.