document that nimble init uses the current directory

This commit is contained in:
Willi Schinmeyer 2018-03-31 20:12:07 +02:00
commit 9fb0e557f2
2 changed files with 4 additions and 3 deletions

View file

@ -303,7 +303,7 @@ which can be useful to read the bundled documentation. Example:
### nimble init
The nimble ``init`` command will start a simple wizard which will create
a quick ``.nimble`` file for your project.
a quick ``.nimble`` file for your project in the current directory.
As of version 0.7.0, the ``.nimble`` file that this command creates will
use the new NimScript format.
@ -391,7 +391,7 @@ a package.
A .nimble file can be created easily using Nimble's ``init`` command. This
command will ask you a bunch of questions about your package, then generate a
.nimble file for you.
.nimble file for you in the current directory.
A bare minimum .nimble file follows:

View file

@ -62,7 +62,8 @@ Commands:
in the current working directory.
check Verifies the validity of a package in the
current working directory.
init [pkgname] Initializes a new Nimble project.
init [pkgname] Initializes a new Nimble project in the
current directory.
publish Publishes a package on nim-lang/packages.
The current working directory needs to be the
toplevel directory of the Nimble package.