0.0
No commit activity in last 3 years
No release in over 3 years
Gem plugin to download a LICENSE file based on its SPDX identifier
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0.1
>= 12.0.0
~> 0.69
 Project Readme

gem-license

A gem plugin for fetching licenses

Installation

gem install gem-license

Usage

# download the MIT license to `LICENSE'
gem license mit

# output to stdout
gem license gpl-3.0 -s

# create a LICENSE.md
gem license apl-1.0 -m

# specify output path
gem license mit -o MIT.license

# attempt to format common values
# Uses git config --get user.name for author names,
# and the base name of the current working directory for
# program/project name.
gem license mit -f

# view a list of all available licenses
gem license -l

Licenses names are all based on SPDX identifiers and are not case sensitive.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/swarley/gem-license.

License

The gem is available as open source under the terms of the MIT License.