NAME

App::Software::License - Command-line interface to Software::License

VERSION

version 0.11

SYNOPSIS

software-license --holder 'J. Random Hacker' --license Perl_5 --type notice

DESCRIPTION

This module provides a command-line interface to Software::License. It can be used to easily produce license notices to be included in other documents.

All the attributes documented below are available as command-line options through MooX::Options and can also be configured in $HOME/.software_license.conf through Config::Any.

ATTRIBUTES

holder

Name of the license holder.

year

Year to be used in the copyright notice.

license

Name of the license to use. Must be the name of a module available under the Software::License:: namespace. Defaults to Perl_5.

type

The type of license notice you'd like to generate. Available values are:

* notice

This method returns a snippet of text, usually a few lines, indicating the copyright holder and year of copyright, as well as an indication of the license under which the software is distributed.

* license

This method returns the full text of the license.

configfile

Path to the optional configuration file. Defaults to $HOME/.software_license.conf.

* fulltext

This method returns the complete text of the license, preceded by the copyright notice.

* version

This method returns the version of the license. If the license is not versioned, this returns nothing.

* meta_yml_name

This method returns the string that should be used for this license in the CPAN META.yml file, or nothing if there is no known string to use.

SUPPORT

Bugs may be submitted through the RT bug tracker (or bug-App-Software-License@rt.cpan.org).

There is also a mailing list available for users of this distribution, at http://lists.perl.org/list/cpan-workers.html.

There is also an irc channel available for users of this distribution, at #toolchain on irc.perl.org.

AUTHOR

Florian Ragwitz <rafl@debian.org>

CONTRIBUTORS

  • Karen Etheridge <ether@cpan.org>

  • Randy Stauner <rwstauner@cpan.org>

  • Erik Carlsson <info@code301.com>

COPYRIGHT AND LICENCE

This software is copyright (c) 2009 by Florian Ragwitz.

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