cflash is finally ready for distribution!! Here's what it can do:

TUI:
  1. It will ask you to enter a device, f.e. sdd (no need for /dev/)
  2. It will ask you to enter the FULL path of your ISO or image file (Tab-completion supported)
  3. It will ask you to enter your preferred blocksize (Supported are: 512K (1), 1M (2), 2M (3), 4M (4), 8M (5) and 16M (6), can be entered as a digit
  4. It will ask you to enter your preferred oflag (Supported are: direct (1), dsync (2), sync (3) and nocache (4), can also be entered as a digit)
  5. Once completed, it will list your configuration for the flash (device, iso, blocksize and oflag) and ask, if that's all correct and you want to continue. If yes, it will continue and prompt you with a sudo (unless you started the program with sudo) and then start to flash.
  6. After the flash is completed, you will get a message telling you it's done and to have fun with your new installation (depending on the OS).

CLI:
  1. Enter all details for flashing (device (without /dev/), iso, blocksize and oflag), then press enter
  2. You will be asked if the entered details are correct, confirm if they are all correct.
  3. A sudo prompt (unless started with sudo) will appear, after confirming you have sudo-rights, the flash will start.
  4. Once the flash is completed, you will get a message telling you it's done and to have fun with your new installation (depending on the OS).