WP-CLI is licensed under the MIT license, and all bundled code should be compatible with that.
We should document our licensing expectations for:
- accepting third-party code into the official repository/organization
- bundling third-party code
- depending on third-party code
Related: wp-cli/wp-config-transformer#1 (comment)