Hi, Strapi provides useful commands such as reset user password through Strapi CLI. For example : yarn strapi --help
will show a number of commands in Strapi CLI.
Where does the code of Strapi CLI or what library is Strapi CLI in ?
Thank you.
Hi, Strapi provides useful commands such as reset user password through Strapi CLI. For example : yarn strapi --help
will show a number of commands in Strapi CLI.
Where does the code of Strapi CLI or what library is Strapi CLI in ?
Thank you.
I think it is in node_modules/strapi/lib/commands
.
For example, the program to reset user password is in node_modules/strapi/lib/commands/admin-reset.js
.
Yes your correct, the CLI is located here: strapi/packages/strapi/lib/commands at master · strapi/strapi · GitHub
It’s built into the strapi
package
Thank you very much!