Casey Rodarmor
2cfdad2597
Fail early if destination .torrent file exists
...
Check if torrent file to create exists and fail early.
type: changed
2020-04-07 19:01:16 -07:00
Casey Rodarmor
4371bb1402
Improve spinner and progress bar
...
- Switch to my branch of indicatif on github
- Use binary braille spinner
- Use fine-grained progress bar
- Improve template formatting
- Use SI units for bytes/s
type: changed
2020-04-07 19:01:16 -07:00
Casey Rodarmor
b25b389ae6
Rename Target
to OutputTarget
...
Making it specific to output allows us to be more specific in the
display message, and possibly add output-specific code in the future.
type: reform
2020-04-07 19:01:16 -07:00
Casey Rodarmor
0de2b1719e
Only show torrent summary on create with --show
...
The torrent summary is large, and makes it easy to miss the create
progress bar and messages. Only show summary if the user passes
`--show` / `-S` to `imdl torrent create`.
type: changed
2020-04-07 19:01:16 -07:00
RJ Rybarczyk
bdaec27caf
Add piece hashing progress bar
...
type: added
2020-04-07 19:01:15 -07:00
RJ Rybarczyk
c6cd78f565
Add progress messages to imdl torrent create
...
- Add messages showing overall progress
- Add file search spinner
type: added
2020-04-07 19:01:15 -07:00
Casey Rodarmor
21a87a46f3
Improve imdl torrent create
flags
...
Add short flags and make some long flags shorter.
type: added
2020-04-07 19:01:15 -07:00
Casey Rodarmor
027b229df1
Test piece-hashing edge cases
...
- Uneven last piece
- Even last piece
- Piece that spans multiple files
- Multiple pieces in one file
type: testing
2020-04-07 19:01:14 -07:00
Casey Rodarmor
2b19a62134
Test creating torrents from .
and ..
...
Test that torrent gets actual name of directory, and is created in the
correct location.
type: testing
2020-04-07 19:01:14 -07:00
Casey Rodarmor
fa6d4e6ad0
Revise command line value names
...
Make command line value names make sense in context. For example,
`--announce URL` instead of `--announce ANNOUNCE`.
type: documentation
2020-04-07 19:01:14 -07:00
Casey Rodarmor
cba238470d
Remove long_help
in favor of help
...
Maintaining two help strings in order to have a shorter help message
doesn't seem worth it.
type: documentation
2020-04-07 19:01:14 -07:00
Casey Rodarmor
4fffa777b4
Refactor Opt into Arguments, Options, and Subcommand
...
type: reform
2020-04-07 19:01:14 -07:00