Skip to content

Conversation

@dionysio
Copy link

@dionysio dionysio commented Dec 3, 2021

I've added a new command line argument called columns which allows the user to retrieve more than just license information. An example call

deplic /home/user/myproject --format json --columns Name Version Meta "Project Url"

which would output:

[
    {
        "Name": "pdf2image",
        "Version": "1.16.0",
        "Meta": "MIT",
        "Project Url": "https://pypi.org/project/pdf2image/"
    },
    {
        "Name": "blowfish",
        "Version": "0.6.1",
        "Meta": "GPLv3",
        "Project Url": "https://pypi.org/project/blowfish/"
    }
]

I've checked and it works in json/csv/tabulated formats. Also by default, the output is still the same - only license information shows

@dionysio
Copy link
Author

dionysio commented Dec 3, 2021

hey @abduhbm sorry I've never seen these pre-commit hooks used, can you explain how can this https://github.com/abduhbm/dep-license/runs/4406447331?check_suite_focus=true be fixed?

@abduhbm
Copy link
Owner

abduhbm commented Dec 5, 2021

Hey @dionysio ... Thanks for the PR
This runs a pre commit hook to check the code format using black formatter
You can install it locally and run it to reformat the code (https://pre-commit.com)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants