@liam-hq/cli v0.0.18
@liam-hq/cli
Command-line tool designed to generate a web application that displays ER diagrams.
How To Use
See https://liambx.com/docs/cli
Test
pnpm run testBuilding and Installing the Standalone CLI for Development
To build the CLI for development purposes, run:
pnpm run build
# The executable will be output to dist-cli/bin/cli.js.After building, you can invoke it locally with:
node ./dist-cli/bin/cli.js erd build --input ./fixtures/input.schema.rb --format schemarbTo make it globally accessible as liam, use:
pnpm link --globalDevelopment npm Scripts Explanation
ER Diagram App Development with Vite
- Dev Command
This command currently performs the following actions:pnpm dev- Builds the CLI.
- Executes the CLI with the command
erd build --input ./fixtures/input.schema.rb --format schemarb. - Copies the generated
schema.jsonto thepublic/directory and launches the Vite development server.
Project File Structure
bin/cli.ts: This is the main CLI script.src/cli/: Contains the source code for the CLI.fixtures/input.schema.rb: A sample input file used for testing and development purposes.src/{App,main}.tsx,index.html: These files constitute the web application's entry point, which displays ER diagrams.
7 months ago
7 months ago
8 months ago
8 months ago
9 months ago
9 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago