What is Trecli?
Trecli is a simple CLI tool dedicated for React developers that uses TypeScript.
Creating React component with styles file and props interface is a little bit to time-consuming but happily it can be easily automated with Trecli.
Checking out examples is the simplest way to understand how Trecli works :)
#
Example 1. Simple component⬇ creates ⬇
Foo.tsx
Foo.interface.ts
#
Example 2. Component with index file and Material UI hook⬇ creates ⬇
index.ts
Bar.tsx
Bar.interface.ts
Bar.styles.ts