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

Added --include-hidden to push command to include hidden files #37

Closed ghost closed 2 years ago

ghost commented 2 years ago

I noticed that files weren't being uploaded if they started w/ a dot. This was breaking my neocities website, so I added the functionality to your CLI client. I think it's reasonable to assume that not everybody would want hidden files to be uploaded by default, so I added it as an optional parameter to the push subcommand.