neocities / neocities-ruby

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

Allow pushing to arbitrary remote path #46

Open dei-layborer opened 9 months ago

dei-layborer commented 9 months ago

The push command only uploads whatever you "feed" it to the root of your neocities site. As I'm working with a full Hugo site that I want to have in a subdirectory, this isn't ideal. I was able to handle it by creating the directory structure I wanted locally and uploading that. It's not a huge deal, but it'd be nice if we could give it a remote path as well.