10 releases

0.1.9 Nov 20, 2023
0.1.8 Nov 20, 2023
0.1.7 Sep 24, 2023
0.1.5 Jul 19, 2023

#403 in Command line utilities

Download history 6/week @ 2023-08-14 12/week @ 2023-08-28 31/week @ 2023-09-11 27/week @ 2023-09-18 17/week @ 2023-09-25 6/week @ 2023-10-02 2/week @ 2023-10-09 3/week @ 2023-10-16 5/week @ 2023-10-23 11/week @ 2023-10-30 11/week @ 2023-11-13 72/week @ 2023-11-20 31/week @ 2023-11-27

114 downloads per month

MIT license



Build Status codecov Crates.io

A Linear command line client

Working with issues

Add an organization and token. Your token can be generated in Linear Settings

lnr org add

Create a new issue

lnr issue create

View issue (linked to current branch)

lnr issue view

Edit issue (linked to current branch)

lnr issue edit

Working with templates

Create a series of tickets from a TOML file

Input file (uses handlebars-style variables)

# build_batcave.toml
name = "Alfred"

title = "This is a parent issue"
description = """
We need to create a batcave

Make sure to coordinate with {{name}}

See child tickets

title = "This is a child issue for {{name}} to complete"
description = """
Figure out where to put the batcave

 - Some place dark and dingy
 - Make sure to coordinate with {{name}}

title = "This is a second child issue that will be linked to the parent issue"
description = """
Make sure that we have enough bats

### Acceptance Criteria

- [ ] They can't bite too much
- [ ] At least a dozen
- [ ] Don't overdo it this time


lnr template evaluate --path ~/Documents/build_batcave.toml

Create a series of tickets from all TOML files in a directory

When passed a directory, Linear Templater will recursively walk through the directory and all sub-directories and create tickets from all the TOML files that are not Cargo.toml.


# Create tickets from all TOML files in the current directory
lnr template evaluate --path .


Crates.io (Linux, Mac, and Windows)

Install Rust

# Linux and MacOS
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Install lnr

cargo install lnr

AUR (Arch-based Linux)

# Use yay or another AUR helper
yay lnr-bin

GitHub (Linux, Mac, and Windows)

Install Rust

Clone the project

git clone git@github.com:alanvardy/lnr.git
cd tod
./test.sh # run the tests
cargo build --release

You can then find the binary in /target/release/


Contributions are welcome, be sure to open up an issue first!


~488K SLoC