Closed alexkubica closed 7 years ago
Well, if we can implement this with the condition of mal inc <anime>
still do the same for now I'm ok with it. How about add a flag like -n 5
? E.g: mal inc Naruto -n 5
. For default -n will be 1 for inc and -1 for dec.
Yes, it can be done that the number argument is optional and if none is given it will default to one.
I'm closing the issue since #26 has been merged, thanks!
Just a note: the actual implementation is really the initial description that you made here.
The default defined by one don't works because the argument is positional. You think is ok that way or is better something like mal lion inc -n 2
and for default n=1
? Would be great retro-compatibility with the old one mal inc lion
.
I think that inc or dec commands should get the number of episodes to change as an argument, for exmaple:
Instead of increasing/decreasing one episode at a time.