NAME

Rope::Cmd - Command Line Applications via Rope

VERSION

Version 0.03

SYNOPSIS

package Time::Tracker;

use Rope::Cmd;
use Coerce::Types::Standard qw/Int Bool JSON/;

title '...';

abstract '...'

option time => (
	type => Int,
	option_alias => 'o',
	description => '...'
);

option enabled => (
	type => Bool,
	option_alias => 'e',
	description => '...'
);

option history => (
	type => JSON->by('decode'),
	type_coerce => 1,
	description => '...'
);

sub callback {
	my ($self) = @_;
	...
}


1;

....

Time::Tracker->run('help');

Time::Tracker->run('t=1715069487', 'e=1', 'history=[{"one":"two", ...}]');

AUTHOR

LNATION, <email at lnation.org>

BUGS

Please report any bugs or feature requests to bug-rope-cmd at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Rope-Cmd. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Rope::Cmd

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

This software is Copyright (c) 2024 by LNATION.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)