It's time to give a maintainable, flexible and interactive CLI to our split-join-file script.
The MVP was making a lot of assumptions: which file to split, and where to dump the chunks. Now we need to allow the user to pick which file they want to split (either through a CLI option, or vial CLI interactive "select list") , where to send the chunks, and how big the chunks need to be.
We'll be using python click and questionary to build our CLI.
0:00 intro
0:30 commands and options with click
11:04 interactivity with questionary
17:52 github pull requests
18:32 closing
code available at https://github.com/codercave/split-jo...
twitter / codercave
https://codercave.tv
python / questionary / click / command line interface / cli
Auf dieser Seite können Sie das Online-Video split join files [part 2] - add commands, options and interactivity (with python) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Coder Cave 25 August 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 240 Mal angesehen und es wurde von 8 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!