README
Command-line license generator
If you like / use this project, please let me known by adding a ★ on the GitHub repository.
Installation
# Define installation folder
export INSTALL_DIRECTORY=/usr/bin
# Use local installation
sudo bin/installer install
# Use remote installation
curl --location "https://github.com/timonier/license/raw/master/bin/installer" | sudo sh -s -- install
Note 1: If you do not define INSTALL_DIRECTORY
, installer
will use in /usr/local/bin
.
Note 2: docker-for-mac
users have to configure native NFS server.
Usage
Run the command license
:
# See all license options
license --help
# Run license
license --name Morgan --output LICENSE mit
cat LICENSE
# MIT License
#
# Copyright (c) 2017 Morgan
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# ...