@@ -78,6 +78,7 @@ const helpMessage = `Usage:
7878 -c, --clone-entitlements Clone the entitlements from the provisioning to the bin
7979 -e, --entitlements [ENTITL] Specify entitlements file (EXPERIMENTAL)
8080 -E, --entry-entitlement Use generic entitlement (EXPERIMENTAL)
81+ -N, --add-entitlements [FILE] Append entitlements from file (EXPERIMENTAL)
8182 -M, --massage-entitlements Massage entitlements to remove privileged ones
8283 -t, --without-get-task-allow Do not set the get-task-allow entitlement (EXPERIMENTAL)
8384 -C, --no-entitlements-file Do not create .entitlements file in the IPA
@@ -150,6 +151,7 @@ const fromOptions = function (opt) {
150151 all : opt . all || false ,
151152 allDirs : opt . allDirs || true ,
152153 allowHttp : opt . allowHttp || false ,
154+ addEntitlements : opt . addEntitlements || undefined ,
153155 bundleIdKeychainGroup : opt . bundleIdKeychainGroup || false ,
154156 bundleid : opt . bundleid || undefined ,
155157 cloneEntitlements : opt . cloneEntitlements || false ,
@@ -245,6 +247,7 @@ function compile (conf) {
245247 all : conf . a || conf . all || false ,
246248 allDirs : conf [ 'all-dirs' ] || conf . A ,
247249 allowHttp : conf [ 'allow-http' ] || conf . H ,
250+ addEntitlements : conf [ 'add-entitlements' ] || conf . N ,
248251 bundleIdKeychainGroup : conf . B || conf [ 'bundleid-access-group' ] ,
249252 bundleid : conf . bundleid || conf . b ,
250253 cloneEntitlements : conf . c || conf [ 'clone-entitlements' ] ,
0 commit comments