You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to run `updateAll`, the ingester needs permission to update
all the changemakers. But not all changemakers that are present in PDC
have EINs that can be found in Charity Navigator. So before running a
modify command (`updateAll`) it is useful to run this new read-only
command (`lookupFromPdc`) to list the exact changemakers on which the
ingest user needs permissions.
describe: 'Fetch and display information about organizations present in PDC',
249
+
builder: (y)=>(y
250
+
.option('charity-navigator-api-key',{
251
+
describe: 'CharityNavigator API key; get from account management at https://developer.charitynavigator.org/ (can also be set via DS_CHARITY_NAVIGATOR_API_KEY env var)',
252
+
demandOption: false,
253
+
type: 'string',
254
+
})
255
+
.check((argv)=>{
256
+
if(!argv.charityNavigatorApiKey){
257
+
thrownewError('Missing required argument: charity-navigator-api-key (set via CLI or DS_CHARITY_NAVIGATOR_API_KEY env var)');
258
+
}
259
+
returntrue;
260
+
})
261
+
.option('output-file',{
262
+
alias: 'write',
263
+
describe: 'Write organization information to the specified JSON file',
0 commit comments