From 00e1c3798a4a2257d9c43664f05605268de9d756 Mon Sep 17 00:00:00 2001 From: Ryan Berger Date: Fri, 25 Aug 2023 14:52:22 -0400 Subject: [PATCH] Use Stripes CLI command since calling from stripes-core is deprecated (#1337) --- doc/adding-permissions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/adding-permissions.md b/doc/adding-permissions.md index 5f0c640b0..6f5e99d61 100644 --- a/doc/adding-permissions.md +++ b/doc/adding-permissions.md @@ -36,9 +36,9 @@ $ ## Generate a module descriptor -This can be done using a script provided with stripes-core (and which is used in back-end deployment): +This can be done using a script provided with [Stripes CLI](https://github.com/folio-org/stripes-cli) (and which is used in back-end deployment): ``` -$ node ../stripes-core/util/package2md.js package.json > MD.json +$ stripes mod descriptor --full > MD.json ``` You can look at the generated module descriptor in your editor if you like. It's in the same format as any other [Okapi module descriptor](https://github.com/folio-org/okapi/blob/master/doc/guide.md#example-4-complete-moduledescriptor).