ninit

Initialize a Nim package non-interactively (does not require nimble)


Need help? Read Nimble

ninit

A non-interactive utility to initialize a nimble package. Provides the same functionality as nimble init, but is fully non-interactive and can be used in automation tasks. The generated packages should be (near-)identical to those generated by nimble itself.

The tool does not have a runtime dependency on nimble, so it can initialize packages without nimble being available. However, because it generates nimble packages, the generated packages themselves do require nimble in order to be built or tested.

CLI

Usage:
  main [optional-params] 
Options:
  -h, --help                                                   print this cligen-erated help
  --help-syntax                                                advanced: prepend,plurals,..
  -g, --git            bool    false                           set git
  -a=, --author=       string  "Anonymous"                     set author
  -b, --binary         bool    false                           set binary
  -l, --library        bool    false                           set library
  --license=           string  "MIT"                           set license
  -v=, --version=      string  "0.1.0"                         set version
  -n=, --nimversion=   string  ""                              set nimversion
  -d=, --description=  string  "A new awesome nimble package"  set description
  -p=, --package=      string  ""                              set package

Known issues

Does not currently support initializing an hg repository the way nimble does.

Author: cypherwytch

Licence: BSD

Project website

Docs