open-index/open-npm huggingface dataset:
npm package: @kaydotmd/cli
Description: Enterprise-grade coding CLI management
Latest version: 1.1.1

# @kaydotmd/cli

Enterprise-grade coding CLI management

## Installation

```bash
# Run with npx (no installation)
npx @kaydotmd/cli login

# Or install globally
npm install -g @kaydotmd/cli
kay login
```

## Commands

### `kay login`

Authenticate with Kay using WorkOS device flow.

```bash
kay login
```

Opens your browser to complete authentication. Works great in remote/SSH environments.

### `kay logout`

Clear authentication credentials.

```bash
kay logout
```

### `kay status`

Show current authentication status.

```bash
# Human-readable format
kay status

# JSON format
kay status --json
```

## Configuration

Kay stores authentication credentials in `~/.kay/config.json` with 600 permissions for security.

### Environment Variables

The Kay CLI has environment configuration **built into the package at build time**. No runtime environment variables are required for normal use.

For CLI developers working on this package:

- Copy `.env.example` to `.env.development` for local development
- Update `.env.production` with production credentials before publishing to npm
- Run `npm run build` for development builds
- Run `npm run build:prod` for production builds (happens automatically on `npm publish`)

## Support

For issues and questions, visit: https://github.com/kay/kay/issues