Have buffrs init dir
use dir instead of the current working directory
#185
Labels
complexity::low
Issues or ideas with a low implementation cost
component::cli
Everything related to the buffrs cli
type::fix
Milestone
I was a bit surprised when
buffrs init --lib units
createdProto.ml
andproto/
in the current working directory instead of creating aunits/
directory, like Cargo would do.The second blog post actually uses
buffrs init --lib units
and suggests it works (or worked) like Cargo.The current behavior is a bit annoying, since it mean you need to
mkdir
andcd
into the directory before runninginit
. If that's okay, I would like forbuffrs init
to work as closely ascargo init
as possible, even initializing a git repository if there is none. It might not be very useful for implementations, but libraries could definitely use that.The text was updated successfully, but these errors were encountered: