Commit 2098c14e authored by Luc Didry's avatar Luc Didry

First import, working

parents
Revision history for Perl app padconsole
0.01 Mon Oct 21 01:25:17 2013
- First import, working
This diff is collapsed.
use ExtUtils::MakeMaker;
WriteMakefile(
'NAME' => 'padconsole',
'VERSION_FROM' => 'padconsole',
'AUTHOR' => 'Luc Didry <luc@didry.org>',
'ABSTRACT' => 'A console to manage your etherpad instance',
'EXE_FILES' => [ 'padconsole' ],
'PREREQ_PM' => {
'Etherpad::API' => 0.10,
'Term::ReadLine' => 0,
'Config::YAML' => 0,
'URI::Escape' => 0,
'DateTime' => 0,
},
'META_MERGE' => {
"meta-spec" => { version => 2 },
resources => {
repository => {
type => 'git',
url => 'git://github.com/ldidry/padconsole.git',
web => 'https://github.com/ldidry/padconsole',
},
},
},
);
NAME
padconsole - manage your etherpad from the console
SYNOPSIS
padconsole [OPTION]
DESCRIPTION
Provides a console to manage an etherpad instance. Get infos about pads,
delete them, etc.
--help prints a help message and exit
--version prints version and exit
-e http://pad.example.com URL of the etherpad instance
-k secretPadApiKey API key for the etherpad instance
-u padUserLogin username for the etherpad instance, if needed
-p padUserPassword password for the etherpad instance
-c /path/to/config/file use a different config file than \$XDG_HOME_DIR/padconsolerc or ~/.config/padconsolerc
COMMANDS
Once the padconsole is launched, you can use this commands:
help : print this message
exit : exit program
count : print the number of existing pads
list : list all the existing pads (20 items per page)
search <PATTERN> : print the list of the pads which name matches the pattern (Perl regex) (20 items per page)
delete <pad1> <pad2> : delete the pads pad1 pad2 (have to be separated by space)
text <pad> [rev] : print the pad content, at the revision [rev] if defined
revcount <pad> : print the number of revisions of a pad
authors <pad> : print the name of the differents authors who wrote on the pad
infos <pad> : print multiple informations about the pad
writeconf : write the configuration to $config_file
use <alias> : change connection to the etherpad instance which alias is <alias>
alist : print all the configured etherpads aliases
current : print configuration informations about the current etherpad instance
BUGS and SUPPORT
You can find documentation for this module with the perldoc command.
perldoc padconsole
Bugs and feature requests will be tracked at github:
https://github.com/ldidry/padconsole/issues/
The latest source code can be browsed and fetched at:
https://github.com/ldidry/padconsole
git clone git://github.com/ldidry/padconsole.git
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=padconsole
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/padconsole
CPAN Ratings
http://cpanratings.perl.org/d/padconsole
Search CPAN
http://search.cpan.org/dist/padconsole
AUTHOR
Luc DIDRY
CPAN ID: LDIDRY
ldidry@cpan.org
http://www.fiat-tux.fr/
COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
SEE ALSO
L<Etherpad::API>, L<https://github.com/ldidry/etherpad-admin>
This diff is collapsed.
#!/usr/bin/perl
# vim:set sw=4 ts=4 ft=perl expandtab:
use warnings;
use strict;
use Test::More tests => 5;
use_ok( 'Etherpad::API' );
use_ok( 'Term::ReadLine' );
use_ok( 'Config::YAML' );
use_ok( 'URI::Escape' );
use_ok( 'DateTime' );
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment