fastlane-cert
Node wrapper for Ruby Fastlane Cert module
example
var cert =
api
var cert =
cert([options],[callback])
Accepts options as an object; see tables below for a list of both runtime options, and cert options.
Cert Options
Cert Option | Example | Description | Command Executed |
---|---|---|---|
output | { output: outputDirectoryPath } | generates the cert in a specific directory | -o {outputDirectoryPath} |
teamId(string) | { teamId:'ekjo' } | The ID of your team if you're in multiple teams | -b {teamId} |
teamName(string) | { teamName:'teamA' } | The name of your team if you're in multiple teams | -l {teamName} |
keychainPath(string) | { keychainPath : '/' } | Path to a custom keychain | -k {keychainPath} |
development(boolean) | { development:true } | Create a development certificate instead of a distribution one | --development |
force (boolean) | { force:true } | Create a certificate even if an existing certificate exists | --force |
Runtime options
Runtime Option | Example | Description |
---|---|---|
timeout (number) | { timeout:0 } | specify when to exit execution in case of error |
password (string) | {password:''} | app store password |
path (string) | {path:'/'} | path of directory where Cert executes |
install
With npm do:
npm install --save fastlane-cert
testing
npm test
coverage
npm run view-cover
This will output a textual coverage report.
npm run open-cover
This will open an HTML coverage report in the default browser.