Use the current directory as default when running setupdb
When pubsweet setupdb
is run without providing a path, the program outputs "Error: You must specify an app path, e.g. pubsweet setupdb ./myapp". Instead, given that it won't overwrite an existing db without the --clobber
argument it could assume .
as the path, i.e. pubsweet setupdb .
.
This would also match the behaviour of pubsweet run
, which uses the current directory.
It might even make sense to remove the path argument from pubsweet setupdb
and only ever work in the current directory.