@getdis/cli
v0.5.0
Published
Command-line interface for [DIS](https://getdis.ai) — search code, issues, docs, and meetings from your terminal.
Downloads
597
Readme
@getdis/cli
Command-line interface for DIS — search code, issues, docs, and meetings from your terminal.
Install
npm install -g @getdis/cliOn Windows PowerShell, if script execution policy blocks npm.ps1, use npm.cmd:
npm.cmd install -g @getdis/cliOr run directly:
npx @getdis/cli --help
bunx @getdis/cli --helpUsage
dis auth login # Authenticate (opens browser)
dis ask "How does authentication work?" # Ask about your codebase
dis search "DAG-78" # Search issues, PRs, commits
dis search "deployment guide" --in docs # Search documentation
dis search "standup decisions" --in meetings # Search meeting notes
dis plan "Add SSO support" # Generate implementation plan
dis research "Migrate auth to PKCE" # Gather context before coding
dis resolve "auth.service.login" # Resolve entity to file location
dis deps "models.User" # Show dependency graph
dis status # Project health and integrations
dis health # Check connection
dis agent-context --json # Machine-readable CLI mapNon-interactive authentication
For CI or headless environments, pipe a token into the login command:
echo "$TOKEN" | dis auth login --with-tokenCredentials are persisted and reused by subsequent commands.
Conventions
--json-- pass on any command for machine-parseable output. Both success payloads (stdout) and error envelopes (stderr) become JSON:{"error": {"code", "message"}}. Error codes are stable:invalid_invocation,invalid_enum,project_not_configured,auth_required,connection_failed,server_failed,not_found,ambiguous,unknown.dis agent-context --jsonemits the live CLI command tree (every command, flag, default, and enum) -- no backend required. Branch oncli.versionto detect contract changes.
Configuration
Place a .dis.toml in your project root:
project_fqid = "your-project-id"Documentation
Visit getdis.ai for full documentation.
