https://github.com/justcompile/licenses
https://github.com/justcompile/licenses
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/justcompile/licenses
- Owner: justcompile
- License: gpl-3.0
- Created: 2022-04-20T09:08:32.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-26T14:24:43.000Z (about 4 years ago)
- Last Synced: 2025-04-14T17:18:38.702Z (about 1 year ago)
- Language: Go
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# licenses
A tool for inspecting application dependencies requirements/packages/modules in order to extract their license
## Usage
```
license examine [SOURCE] [flags]
[SOURCE] can be a file path or '-' to read from stdin
```
The following languages are supported:
### Python
`--lang=py or --lang=python`
Supporting Pip formatting only currently
```bash
# To examine the packages from a requirements file:
license examine requirements.txt --lang=py
# to examine the packages directly from pip
pip freeze | license examine - --lang=py
```
### Golang
`--lang=go or --lang=golang`
Supporting go modules
```bash
license examine go.mod --lang=go
```