CLI

Atomic Lab supports cli to build styleguides. You can generate styleguide anywhere by installing atomic-lab globally.

npm install -g atomic-lab
atomic-lab build --src ./components --dist ./styleguide

But I'd rather recommend installing it locally and write some npm scripts like below.

"scripts": {
  "test": "echo \"Error: no test specified\" && exit 1",
  "build:guide": "atomic-lab build --src ./components --dist ./styleguide",
},

I know that some peopole don't know much about npm scripts.
so I prepared git repository that you can start atomic-lab easily.

https://github.com/steelydylan/atomic-lab-ejs-example

or If you have already installed npx you can execute local npm scripts with below command.

npx atomic-lab build --src ./components --dist ./styleguide