The official Create Mastery CLI — your tool to enhance DX when working on the Create Mastery website.
npm install -g @create-mastery/cliBefore running most commands, make sure you have cloned the Create Mastery website:
cm clone path/to/destinationRun the CLI help to see all available commands:
cm --helpcm clone <destination>— clone the Create Mastery project repocm add component <name> [--props] [--client]— create a new componentcm add language <language>— add a new language for i18ncm gen schema— generate the dictionary JSON schemacm version— display CLI version and project infocm scripts— list all scripts from the project package.json