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 command to get/set options #26

Open
pawamoy opened this issue Oct 14, 2019 · 0 comments
Open

Add command to get/set options #26

pawamoy opened this issue Oct 14, 2019 · 0 comments

Comments

@pawamoy
Copy link
Owner

pawamoy commented Oct 14, 2019

I was thinking of something like:

# get global option
aria2p getopt max-concurrent-downloads

# get downloads options
aria2p getopt dir 390c3d203c46ae0a

# set global option
aria2p setopt max-concurrent-downloads=10

# increment/decrement global integer option
aria2p setopt max-concurrent-downloads=+4
# or +=4? maybe support both. Should be easy as this is a positional argument

# set downloads options
aria2p setopt allow-overwrite=true 390c3d203c46ae0a 2089b05ecca3d829

We should be able to combine this with the "select" and/or "filter" flags of #22.

This issue also requires #14 to be implemented.

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

No branches or pull requests

1 participant