You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@liam-hq/cli

Package Overview
Dependencies
Maintainers
3
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liam-hq/cli

Command-line tool designed to generate a web application that displays ER diagrams. See https://liambx.com/docs/cli

0.6.4
latest
Source
npmnpm
Version published
Weekly downloads
1.3K
-34.89%
Maintainers
3
Weekly downloads
 
Created
Source

@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 test

Building 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 schemarb

To make it globally accessible as liam, use:

pnpm link --global

Development npm Scripts Explanation

ER Diagram App Development with Vite

  • Dev Command
    pnpm dev
    
    This command currently performs the following actions:
    • Builds the CLI.
    • Executes the CLI with the command erd build --input ./fixtures/input.schema.rb --format schemarb.
    • Copies the generated schema.json to the public/ 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.

Keywords

data-visualization

FAQs

Package last updated on 10 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts