@infini-dev/infini-cli v1.1.0
Infini CLI Tool
A simple CLI tool for scaffolding a library package.
Installation
You can install the package globally by running: npm install -g my-cli-tool
Usage
You can scaffold a new library package by running: infini-cli scaffold
You can also use npx command to run the script directly without installing it:
npx infini-cli scaffold
Options
-o, --overwrite: Overwrite existing files
Example
infini-cli scaffold my-library
This will create a new directory called my-library in the current directory, containing the following files and directories:
infini-cli/ ├── src/ ├── package.json └── tsconfig.json
The src directory is where you should put your library's source code, package.json contains the metadata and dependencies of your library, and tsconfig.json is used to configure the TypeScript compiler.
You can then run npm install inside the my-library directory to install the dependencies, and npm run build to build your library.
You can customize the readme to fit your needs, add more information about the tool, the options, the usage, and the installation. Also, you can add images, gifs, or videos to make it more readable and understandable.