Skip to content

oleksiiluchnikov/linecapture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linecapture

A command-line tool to add lines to a Markdown file with a single command.

Features

  • Add tasks to Markdown files with a single command
  • Adheres to the amazing obsidian-tasks format for seamless integration

Installation

cargo install linecapture

Configuration

Create a file named linecapture.toml in your ~/.config/linecapture directory with the following content:

# Path to the file where captured lines will be appended
file_path = "~/vault/tasks.md"

# Header to be added before the captured lines
header = "## Tasks"

Usage

linecapture task <description> [FLAGS]

FLAGS:
    --id <id>    ID of the task
    --created <created>    Created date of the task in the format YYYY-MM-DD
    --scheduled <scheduled>    Scheduled date of the task in the format YYYY-MM-DD
    --start <start>    Start date of the task in the format YYYY-MM-DD
    --due <due>    Due date of the task in the format YYYY-MM-DD

Example

linecapture task "Add awesome feature to #project/linecapture" --due 2025-03-27

License

MIT

About

A command line tool to add lines to Markdown file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages