WIP
A modern, user-friendly CLI client for Linear built with TypeScript. Uses Linear's Typescript SDK. This CLI provides an improved developer experience for interacting with Linear's API.
- Modern TypeScript implementation
- Interactive CLI with beautiful UI using Ink
- Linear API support via @linear/sdk
- Type-safe command handling
- Modern development tooling
- Node.js >= 18.0.0
- npm or yarn
- Linear API key
npm install -g @mixpeek/linear-cli
# or
yarn global add @mixpeek/linear-cli
To use, you must set up a 'Personal API Key' in your Linear account, here: https://linear.app/mixpeek/settings/account/security
# Initialize the CLI with an API key
linear-cli init
# List all issues
linear-cli issues list
# Create a new issue interactively
linear-cli issues create -i
# View issue details
linear-cli issues view ISSUE-123
- Clone the repository:
git clone https://github.com/mixpeek/linear-cli.git
cd linear-cli
- Install dependencies:
npm install
# or
yarn install
- Build the project:
npm run build
# or
yarn build
- Link the package for development:
npm link
# or
yarn link
npm run build
- Build the projectnpm run dev
- Run in development mode with watchnpm run dev:run
- Run in development mode with watch and executenpm run test
- Run testsnpm run test:coverage
- Run tests with coveragenpm run lint
- Run ESLint
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License.