gyp-cli
npm CLI to create and manage .gyp files
Features
- Initialize binding.gyp file for you.
- Search all
.cc
and.cpp
files in the local tree. - Auto include both
nan
andnode-addon-api
.
Getting Started
This package is available in the Node Package Repository and can be easily installed with npm or yarn.
$ npm i gyp-cli# or $ yarn add gyp-cli# or
Usage example
When installed globally the gyp
executable will be exposed in your terminal.
$ gyp --help$ gyp --init
Arguments
argument | shortcut | description |
---|---|---|
--init | -i | Initialize binding.gyp file |
--update | -u | Update binding.gyp file |
Note: only one argument at a time can be triggered!
Licence
MIT