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

feature request: cli #6

Open
hexylena opened this issue Oct 2, 2023 · 1 comment
Open

feature request: cli #6

hexylena opened this issue Oct 2, 2023 · 1 comment

Comments

@hexylena
Copy link

hexylena commented Oct 2, 2023

Even something as simple as

import sys                                          
                                                    
from rocrateValidator import validate as validate   
v = validate.validate(sys.argv[1])                  
v.validator()                                       

would be a great help! Additionally to return the message on validator() rather than invoking print could be nice for consumers to decide how they want to handle the output.

@stain
Copy link
Collaborator

stain commented Oct 2, 2023

There's an experimental CLI as part of runcrate on a branch that uses this ro-crate-validator library.

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