todo-linear-cli
CLI to turn your TODOs into Linear issues/tickets.
Why?
TODOs can clutter your codebase and hinder your productivity.
With todo-linear-cli
, you can easily upload and organize your TODOs without
installing an IDE-specific plugin.
Installation
With NPM:
npm i -g todo-linear-cli
With Yarn:
yarn global add todo-linear-cli
Usage
1. Write some code
// TODO: Refactor foo algorithm
function foo() {
// TODO: Pick more descriptive name for bar
const bar = '...';
}
// TODO: Implement baz function
function baz() {}
2. Convert TODOs to issues
Run todo-linear-cli convert
to turn your TODOs into issues.
This command will only find TODOs located in your current working directory.
Generated files such as node_modules
are ignored and will not be searched.
You will be prompted to sign in via Linear OAuth, then you will be able to pick the team in Linear you want issues to be created in.
Once you've completed the steps above, the issues will be automatically created for you in Linear.
Available options
-
-e
or--extensions
: Specify file extensions to search with regex format. Example:todo-linear-cli convert -e ".js|.html"
. Defaults to.js
and.ts
files. -
-o
or--omit
: Omit files by name with regex format. Example:todo-linear-cli convert -o ".next"
. Defaults tonode_modules
.