graphdoc icon indicating copy to clipboard operation
graphdoc copied to clipboard

how to put * to execute whole '.gql' files from a folder in scripts of package.json

Open jamsheeralipm opened this issue 7 years ago • 1 comments

i have used scripts body as "scripts": { "start_docs":"npm run graphdoc", "graphdoc": "graphdoc -s schema/*.gql -f -o ./support/reports/graphdoc;exit 0" } While I put multiple '.gql' using * from schema folder, then error like /Documents/graphql_new/stature-gqdss/node_modules/@2fd/command/lib/command/params.js:104 throw new Error('Unexpected param: ' + param); ^

Error: Unexpected param: schema/basic-profile-schema.gql at NoParams.parse (/home/jamsheerali/Documents/graphql_new/stature-gqdss/node_modules/@2fd/command/lib/command/params.js:104:15)

jamsheeralipm avatar Mar 05 '18 10:03 jamsheeralipm

same here 👀

iNemesis avatar Feb 24 '22 15:02 iNemesis