toastdotdev / toast

The best place to stack your JAM. Toast is a Jamstack framework
153 stars 13 forks source link

Consider defaulting `toast incremental` to the current directory #46

Open johno opened 3 years ago

johno commented 3 years ago

This is more a general design consideration than anything, it's not a hill I'd die on. But, in my opinion, it makes sense to default to the current directory for the toast incremental command. It's sort of implied and then one doesn't have to specify the ..

This does introduce a bit of magic, perhaps, and attempting to build the current directory could trip up new users. Though, since site building is a subcommand rather than top-level I don't think that it'd be too surprising.

ChristopherBiscardi commented 3 years ago

yeah I think we can default to this since it's a subcommand.