neocities / neocities-ruby

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

Can't upload dotfiles #16

Open sixcorners opened 6 years ago

sixcorners commented 6 years ago

The CLI doesn't let me push dotfiles. The main thing I want to push is ".well-known/keybase.txt".

da2x commented 5 years ago

You can upload with the upload command:

neocities upload -d ".well-known" ".well-known/keybase.txt"
janseeger commented 2 years ago

I do have the same issue, but I need to upload a whole directory structure for WKD.

This could be made configurable by optionally (perhaps with an -a parameter) passing the File::FNM_DOTMATCH flag into the glob call.

janseeger commented 2 years ago

I just re-ran into this same issue (this time with .well-known/matrix/server) and decided to scratch that itch for me. I built my own Docker image with the modified neocities-cli and it works fine for me.