Added a command line option to remove an album, including its pictures.
Use pxl delete "Album name" to delete its pictures from the file hosting and remove the album from the state, in that order.
If the given album name does not match any known album the operation is cancelled.
Biggest drawback of this implementation is that the pictures are removed from the file hosting before the site is rebuild and deployed, leaving a window in which the album appears to have missing pictures.
The user is warned of this issue after the operation finishes.
@Riscky Could you also please rename (and potentially squash) the commits to a "subject: short description" like format to make it match the rest of the commit history?
Status: Done, pls review
Added a command line option to remove an album, including its pictures. Use
pxl delete "Album name"
to delete its pictures from the file hosting and remove the album from the state, in that order. If the given album name does not match any known album the operation is cancelled.Biggest drawback of this implementation is that the pictures are removed from the file hosting before the site is rebuild and deployed, leaving a window in which the album appears to have missing pictures. The user is warned of this issue after the operation finishes.