0.5.7 • Published 10 months ago

@liam-hq/cli v0.5.7

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
10 months ago

@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.
0.5.7

10 months ago

0.5.6

11 months ago

0.5.5

11 months ago

0.5.4

12 months ago

0.5.3

1 year ago

0.5.2

1 year ago

0.5.1

1 year ago

0.5.0

1 year ago

0.4.6

1 year ago

0.4.5

1 year ago

0.4.4

1 year ago

0.4.3

1 year ago

0.4.2

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.6

1 year ago

0.3.5

1 year ago

0.3.4

1 year ago

0.3.3

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago

0.0.25

1 year ago

0.0.24

1 year ago

0.0.23

1 year ago

0.0.22

1 year ago

0.0.21

1 year ago

0.0.20

1 year ago

0.0.19

1 year ago

0.0.18

1 year ago

0.0.17

1 year ago

0.0.16

1 year ago

0.0.15

1 year ago

0.0.14

1 year ago

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago