Johan Vromans > SugarSync-API-0.06 > test

Download:
SugarSync-API-0.06.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

test - SugarSync API tester

SYNOPSIS ^

test [options] url ...

 Options:
   --show-auth -s       show authorization token
   --config=XXX         altenative config file
   --ident              show identification
   --help               brief help message
   --man                full documentation
   --verbose            verbose information

OPTIONS ^

--show-auth -s

Show the authorization token.

--config file

Alternate config file.

Default config file is $HOME/.config/sugarsync/config .

This should contain the username and password for Sugarsync.

-help

Print a brief help message and exits.

-man

Prints the manual page and exits.

-ident

Prints program identification.

-verbose

More verbose information.

file

Input file(s).

DESCRIPTION ^

This program will authorize for SugarSync access and retrieve the specified urls. The urls are assumed to return XML data which is shows as a Perl structure.

With option <--show-auth> it will also show the authorization token. In this case, specifying urls is optional.

CONFIG FILE ^

A config file is required to store the username and password for SugarSync access.

By default, the config file is .config/sugarsync/config in the users home directory. An alternative config file can be selected with the --config command line option.

The config file should contain:

  [auth]
  username = your_sugarsync_user_name
  password = your_sugarsync_password

SugarSync::API.

AUTHOR ^

Johan Vromans, <jv at cpan.org>

BUGS & SUPPORT ^

See SugarSync::API.

COPYRIGHT & LICENSE ^

Copyright 2011 Johan Vromans, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: