0.1.6 • Published 2 years ago

create-adastra v0.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

create-adastra

Adastra ✨ create CLI is for scaffolding Adastra theme projects in no time.

With NPM:

npm create adastra@latest

With Yarn:

yarn create adastra

With PNPM:

pnpm create adastra

create-adastra automatically runs in interactive mode, but you can also specify your project name and template with command line arguments.

# npm 6.x
npm create adastra@latest my-shopify-theme --template minimal

# npm 7+, extra double-dash is needed:
npm create adastra@latest my-shopify-theme -- --template minimal

# yarn
yarn create adastra my-shopify-theme --template minimal

# pnpm
pnpm create adastra my-shopify-theme --template minimal

Check out the full list of example starter themes and usecases.

You can also use any GitHub repo as a template:

npm create adastra@latest my-adastra-theme -- --template blanklob/adastra-minimal-template

Adastra create CLI Flags

May be provided in place of prompts

NameDescription
--template <name>Specify your Adastra ✨ theme template.
--install / --no-installInstall dependencies (or not).
--git / --no-gitInitialize git repo (or not).
--yes (-y)Skip all prompt by accepting defaults.
--no (-n)Skip all prompt by declining defaults.
--dry-runWalk through steps without executing.
--skip-tarsSkip Tars mascot animation.

Special Thanks

This create adastra cli was inspired by Astro Scaffolding made by the AstroJS team.

Want to learn more?

Feel free to check our documentation or jump into our Discord server.