No description
Find a file
2024-06-19 10:04:30 +02:00
src [main] fix incorrect package structure warning for libraries 2024-06-19 10:03:54 +02:00
.gitignore [main] initial commit 2024-06-15 11:21:44 +02:00
ninit.nimble [main] increment version 2024-06-19 10:04:30 +02:00
README.md [main] slightly rephrased some of the README 2024-06-15 17:09:13 +02:00

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.