diff --git a/README.md b/README.md index bfc88dd..99d4cdb 100644 --- a/README.md +++ b/README.md @@ -31,54 +31,76 @@ lifting for you and start building your projects faster and more efficiently tod --- -## Quick Start +## Documentation -### Local Templates +See full documentation [here](https://chenasraf.github.io/simple-scaffold). -The fastest way to get started is to use `npx` to immediately start a scaffold process. +- [Command Line Interface (CLI) usage](https://chenasraf.github.io/simple-scaffold/docs/usage/cli) +- [Node.js usage](https://chenasraf.github.io/simple-scaffold/docs/usage/node) +- [Templates](https://chenasraf.github.io/simple-scaffold/docs/usage/templates) +- [Configuration Files](https://chenasraf.github.io/simple-scaffold/docs/usage/configuration_files) +- [Migration](https://chenasraf.github.io/simple-scaffold/docs/usage/migration) -Prepare any templates you want to use - for example, in the directory `templates/component`; and use -that in the CLI args. Here is a simple example file: +## Getting Started -Simple Scaffold will maintain any file and directory structure you try to generate. +### Cheat Sheet -`templates/component/{{ pascalName name }}.tsx` +A quick rundown of common usage scenarios: -```tsx -// Created: {{ now 'yyyy-MM-dd' }} -import React from 'react' +- Remote template config file on GitHub: -export default {{pascalCase name}}: React.FC = (props) => { - return ( -
{siteConfig.tagline}
+