Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to add license data? #53

Closed
soimsoim opened this issue Feb 6, 2020 · 2 comments
Closed

Is there any way to add license data? #53

soimsoim opened this issue Feb 6, 2020 · 2 comments

Comments

@soimsoim
Copy link

soimsoim commented Feb 6, 2020

This tool is really fast and nice.
Is there any way to add license data?
Can this extracts the copyright text?

@jpeddicord
Copy link
Owner

Thanks!

Is there any way to add license data?

Sure is. If you're using the API: https://docs.rs/askalono/0.4.2/askalono/struct.Store.html#method.add_license

If you're using the command-line tool, it only knows how to load a dataset from the SPDX license-list-data repository:

Load an SPDX license directory (see https://github.com/spdx/license-list-data/tree/master/json/details for format)

USAGE:
    askalono cache load-spdx [FLAGS] <DIR>

FLAGS:
    -h, --help       Prints help information
        --store      Store texts in cache along with match data
    -V, --version    Prints version information

ARGS:
    <DIR>    JSON "details" directory

It could learn to do more; I've just never quite prioritized that work myself. Open to options.

Can this extracts the copyright text?

askalono does not know how to do this at the moment, but I see you asked about this in #54 -- let's scope that there.

@soimsoim
Copy link
Author

soimsoim commented Mar 2, 2020

Thank you for your kind answer.
This question is solved so I closed this issue.

I look forward to the function for copyright text #54 .

Thanks and regards,
Soim

@soimsoim soimsoim closed this as completed Mar 2, 2020
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

No branches or pull requests

2 participants