0.1.0 • Published 5 years ago

create-my-awesome v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

create-my-awesome

Version License: MIT

This project is my hello world to gluegun

Table of Contents

About

This CLI allow you to create a simple typescript react component using the command line. Learn more on commands

Prerequisites

  • node ^12.14.1
  • npm ^6.13.4

Usage

Creating a typescript react component named Text:

With yarn:

yarn create my-awesome component Text

With npm:

npm init my-awesome component Text

It will generate the component inside src/components/Text/index.tsx based on your current directory.

Learn more on commands.

Running the source code locally

Install

yarn install

Run tests

yarn run test

Try it locally

yarn link
create-my-awesome component Test

Modify the code, build new commands, then execute it. Example:

create-my-awesome command params --flags

Author

šŸ‘¤ Lucas Miranda