++ed by:
TYLDUM

1 PAUSE user

Tom Wyant
and 1 contributors

TITLE

spacetrack-identity - Report the user's Space Track identity

SYNOPSIS

 spacetrack-identity
 spacetrack-identity -help
 spacetrack-identity -version

or, if you have any of a number of Unix shells,

 export eval `spacetrack-identity`

OPTIONS

-basic

If asserted, this option causes the output to be punctuated with a colon (':', think HTTP basic authentication) rather then a slash ('/', think Oracle). Both are understood by Astro::SpaceTrack.

The default is -nobasic.

-help

This option displays the documentation for this script. The script then exits.

-version

This option displays the version of this script. The script then exits.

DETAILS

This Perl script reports the user's Space Track identity. On success, the output is

 SPACETRACK_USER=username/password

unless -basic is specified, in which case you get a colon (':') rather than a slash ('/').

On failure, the script dies.

AUTHOR

Tom Wyant (wyant at cpan dot org)

COPYRIGHT AND LICENSE

Copyright (C) 2016-2017 by Thomas R. Wyant, III

This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses in the directory LICENSES.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.