Skip to content

simple script to get a list of all packages referenced by a pubspec.lock file

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
license.go
Notifications You must be signed in to change notification settings

plan3t-one/flutter_licenses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter_licenses

A simple script to get a list of all packages referenced by a pubspec.lock file

It parses the pubspec.lock yaml file and fetches the pub.dev page to extract the specified license there. If a license could not be found, it will print a warning message and count the license as ERROR in the final report table.

Usage

$ go get -u github.com/plan3t-one/flutter_licenses
$ flutter_licenses path/to/pubspec.lock

Example Output

+------------+---------+
|  LICENSE   | # FOUND |
+------------+---------+
| ERROR      |       5 |
| Apache 2.0 |      14 |
| BSD        |     109 |
| MIT        |      25 |
+------------+---------+
|   TOTAL    |   153   |
+------------+---------+

About

simple script to get a list of all packages referenced by a pubspec.lock file

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
license.go

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages