{"id":20692629,"url":"https://github.com/kevingimbel/license","last_synced_at":"2025-04-22T17:41:52.478Z","repository":{"id":57585231,"uuid":"108747405","full_name":"KevinGimbel/license","owner":"KevinGimbel","description":"💻 CLI tool to download Open Source License files","archived":false,"fork":false,"pushed_at":"2018-08-19T08:08:16.000Z","size":7587,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T17:22:18.057Z","etag":null,"topics":["cli","golang","license","open-source-tool","tool"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KevinGimbel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-29T15:43:19.000Z","updated_at":"2019-03-14T12:28:46.000Z","dependencies_parsed_at":"2022-09-10T12:42:19.617Z","dependency_job_id":null,"html_url":"https://github.com/KevinGimbel/license","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevinGimbel%2Flicense","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevinGimbel%2Flicense/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevinGimbel%2Flicense/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevinGimbel%2Flicense/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KevinGimbel","download_url":"https://codeload.github.com/KevinGimbel/license/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250289056,"owners_count":21405904,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","golang","license","open-source-tool","tool"],"created_at":"2024-11-16T23:23:13.236Z","updated_at":"2025-04-22T17:41:52.452Z","avatar_url":"https://github.com/KevinGimbel.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `license`\n\u003e Download open source license files for your project\n\n`license` is a command line tool which allows you to download open source licenses from [osl.kevingimbel.com](http://osl.kevingimbel.com).\n\n### Demo\n\n[![asciicast](https://asciinema.org/a/Y58TBBoRlqnHdHlJiNBvN1VcC.png)](https://asciinema.org/a/Y58TBBoRlqnHdHlJiNBvN1VcC)\n\n_Click the image above to see a demo video on asciinema.org_\n\n### Install\n\n#### Binary\n\nDownload the binary for your operating system from the [release tab](https://github.com/kevingimbel/license/releases) and place it somewhere inside your PATH.\n\n#### Brew\n\nRun the following commands in a terminal to install `license` via brew.\n\n```sh\n$ brew tap kevingimbel/tap\n$ brew install license\n```\n\n#### `go get`\n\nIf brew or binary installations do not suite you, you can install license with `go get`.\n\n```sh\n$ go get github.com/kevingimbel/license\n```\n_Note:_ Go must be installed on the system.\n\n### Usage\n\nSee `license help` for a list of all commands.\n\nSee `license [cmd] --help` for more about each command. `[cmd]` can be any of: `get`, `list`, `update`, or `version`.\n\n#### `license list`\n\nRun `license list` to see a list of all licenses and their IDs. IDs are used to retrieve a license.\n\n```sh\n$ license list\nAcademic Free License v3.0 (id:  AFL-3.0 )\nGNU Affero General Public License v3.0 (id:  AGPL-3.0 )\nApache License 2.0 (id:  Apache-2.0 )\nArtistic License 2.0 (id:  Artistic-2.0 )\n```\n\n#### `license get [id]`\n\n`license get` downloads the license by ID to a file named `LICENSE`. Use `-f` or `--format` to specify a file format.\n\nDownload to a file named `LICENSE` (no file extension).\n\n```sh\n$ license get Apache-2.0\n```\n\nTo download the license to a file named `LICENSE.txt`.\n\n```sh\n$ license get --format txt MIT\n```\n\n#### `license update`\n\nUpdate the local license cache file in `$HOME/.license/license.json`. The locale cache file is not used as of version 0.1.2!\n\n#### `license version`\n\nDisplay the version of `license`. Use `license version -l` to display the Git commit ID and build date.\n\n```sh\n$ license version\n0.1.2\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevingimbel%2Flicense","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevingimbel%2Flicense","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevingimbel%2Flicense/lists"}