NAME

perl-tudo - Tudo TODO file command-line interface (in Perl!)

SYNOPSIS

perl-tudo [options] <todo>
perl-tudo [options] --list
perl-tudo [options] --show <entry>
perl-tudo [options] --rm <target>

DESCRIPTION

perl-tudo is a command-line program using the File::Tudo module for interacting with Tudo TODO files.

By default, perl-tudo takes a single string as an argument and appends it to the end of the TODO file it is configured to work on.

OPTIONS

--list

Instead of appending TODOs to the current TODO file, list a quick preview of each TODO entry currently in the file.

--show entry

Instead of appending TODOs to the current TODO file, print entry number specified by entry.

--rm target

Instead of appending TODOs to the current TODO file, remove any TODO entry that matches target. target can be one of the following:

Integar

If target is an integar, remove the nth TODO entry (n being the number specified by target).

String

If target is a normal string, remove any TODO entry that contains said string.

--file file

Specify the path to the TODO file to work on. Defaults to either the TODO_FILE environment variable if set, or ~/TODO otherwise.

--help

Print perl-tudo help message and exit.

--version

Print perl-tudo version/copyright info and exit.

ENVIRONMENT

TODO_FILE

Default TODO file path.

AUTHOR

Written by Samuel Young, <samyoung12788@gmail.com>.

BUGS

Don't be ridiculous...

Report bugs on my Codeberg, https://codeberg.org/1-1sam.

COPYRIGHT

Copyright 2025, Samuel Young

This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.

SEE ALSO

File::Tudo