Skip to content

An example of using Code Shaper to create a custom CLI

Notifications You must be signed in to change notification settings

code-shaper/react-shaper

Repository files navigation

react-shaper

An example of using Code Shaper to create a custom CLI. This CLI generates a fully opinionated React app, similar to create-react-app. See the how-to guide for more details.

To run this CLI, follow the steps below:

# Install the CLI
npm install -g react-shaper

# Change directory to a location where you create projects, e.g.
cd ~/projects

# Run React Shaper and follow the prompts
react-shaper
? App name? hello-world
? Package name used for publishing? @my-company/hello-world

Creating hello-world...
  package.json
  ...

Done. Now run:

  cd hello-world
  git init
  npm install
  git add .
  git commit -m "initial commit"
  npm run dev

Point your browser to http://localhost:3000 to see the home page.

About

An example of using Code Shaper to create a custom CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published