neocities / neocities-ruby

The Neocities Gem - A CLI and library for using the Neocities web site API.
https://neocities.org
52 stars 14 forks source link

No documentation for push --prune #43

Closed chitinlink closed 1 year ago

chitinlink commented 1 year ago

There is no user-facing documentation for the --prune flag for the push command. I only found out about it through this repo... #30 #25

chitinlink commented 1 year ago

Also, it doesn't seem to be working..? files don't seem to get deleted at all using the command.

Commenter25 commented 1 year ago

Prune is deleting files just fine for me.

chitinlink commented 1 year ago

After looking at your pull request, I realized I was using it wrong, I was running neocities push <dir> --prune, but the flag comes before the directory. It works fine for me.