App-OrgUtils

 view release on metacpan or  search on metacpan

script/list-org-todos  view on Meta::CPAN

#!perl

use 5.010;
use strict;
use warnings;

use Perinci::CmdLine::Any;

our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
our $DATE = '2024-01-09'; # DATE
our $DIST = 'App-OrgUtils'; # DIST
our $VERSION = '0.487'; # VERSION

binmode STDOUT, ":encoding(utf8)";
Perinci::CmdLine::Any->new(url => '/App/ListOrgTodos/list_org_todos')->run;

1;
# ABSTRACT: List all todo items in all Org files
# PODNAME: list-org-todos

__END__

=pod

=encoding UTF-8

=head1 NAME

list-org-todos - List all todo items in all Org files

=head1 VERSION

This document describes version 0.487 of list-org-todos (from Perl distribution App-OrgUtils), released on 2024-01-09.

=head1 SYNOPSIS

 # list all todos in all Org files
 $ list-org-todos ~/todos/*.org

 # list todos that are due in 7 days
 $ list-org-todos --due --days-before 7 FILES...

 # list todos that are due or past-due
 $ list-org-todos --due --days-before 7 FILES...

 # list todos that have a certain state
 $ list-org-todos --state CANCELLED FILES...

=head1 DESCRIPTION

This is a simple application to list todo items in Org files, first created as a
demo for L<Org::Parser>.

=head1 OPTIONS

C<*> marks required options.

=head2 Main options

=over

=item B<--file>=I<s@>*

(No description)


Can also be specified as the 1st command-line argument and onwards.

Can be specified multiple times.

=item B<--files-json>=I<s>

See C<--file>.



( run in 0.661 second using v1.01-cache-2.11-cpan-39bf76dae61 )