Merge pull request #471 from mrwonko/docs/init-directory

document that nimble init uses the current directory
This commit is contained in:
Dominik Picheta 2018-04-01 00:15:02 +01:00 committed by GitHub
commit c249f9b836
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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.