-
Notifications
You must be signed in to change notification settings - Fork 54
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
Refactor the interface #66
Comments
This is also blocked on #44 because I don't want to risk any breakage when making this change. |
I like the idea of subcommands. The arguments parsing could be done this way. |
Oh, very cool. I didn't know about this. On September 20, 2015 5:17:05 AM PDT, Michele Guerini Rocco [email protected] wrote:
Sent from my Android device with K-9 Mail. Please excuse my brevity. |
I am not sure if this is the same enhancement, but I would like to have the ability to use pirate-get non-interactively (for scripting) add -q = Quiet/Query/Quit , no progress, get result and quit |
Here's my plan for a new interface:
pirate-get <action> <options>
where
<action>
can be one ofbrowse
,recent
,search
,top
,categories
,sorts
and
<options>
is everything else we already have as options.One of the options will be
-o / --output
specifying a directory to output the results. This replaces--save-directory
One more new option will be
-O / --output-type
which can bebrowser
,transmission
,magnet
,torrent
, orcommand
. If usingcommand
-o
specifies the PWD and-c / --command
specifies the command to execute.The text was updated successfully, but these errors were encountered: