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

Handle missing push path with an error instead of crashing #53

Closed wayword-dev closed 3 months ago

wayword-dev commented 3 months ago

Closes #36

I considered defaulting to root_path = "." instead of erroring, but it seemed more consistent with the intent of the command to error. I think it makes sense to require a user to specify exactly which directory they want to push.

kyledrake commented 3 months ago

Thanks!