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

Add CLI Interface #105

Open
steveway opened this issue Aug 6, 2021 · 1 comment
Open

Add CLI Interface #105

steveway opened this issue Aug 6, 2021 · 1 comment

Comments

@steveway
Copy link
Collaborator

steveway commented Aug 6, 2021

Since we have some neat functionality now with the automatic recognition using Rhubarb or Allosaurus, we might want to offer a CLI Interface.
It should not be too complicated to add some options with argparse.
So for the functionality there are a few things like:

  • Load supported Project files and Sound Files.
  • Export of specified Voices with the supported Export options.
  • Applying Autodetection using Allosaurus or Rhubarb with extra options for these.
  • Saving as one of the supported Project files.

Maybe also allowing to select directories containing multiple files so that the user can apply all the steps to several files at once.

This way a user could then create several files for his project.
Example:
A user has a folder containing some sound files for an Animation or Game Project.
He wants to create some .json files for them to use in his project:
papagayo-ng.py -i /path/to/files/ --use-allosaurus --export=json -o /path/to/save/json
This would then open the files in the directory one by one apply allosaurus with default settings and export the result to the output (-o) directory.
Something like this maybe.

@steveway steveway pinned this issue Aug 13, 2021
@steveway
Copy link
Collaborator Author

I've begun some work on this on a new branch here: https://github.com/steveway/papagayo-ng/tree/cli_test

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

1 participant