0.0.4 • Published 1 year ago

@liam-hq/cli v0.0.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year 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

7 months ago

0.5.6

7 months ago

0.5.5

8 months ago

0.5.4

8 months ago

0.5.3

9 months ago

0.5.2

9 months ago

0.5.1

9 months ago

0.5.0

10 months ago

0.4.6

10 months ago

0.4.5

10 months ago

0.4.4

10 months ago

0.4.3

10 months ago

0.4.2

10 months ago

0.4.1

11 months ago

0.4.0

11 months ago

0.3.6

11 months ago

0.3.5

11 months ago

0.3.4

11 months ago

0.3.3

11 months ago

0.3.2

11 months ago

0.3.1

11 months ago

0.3.0

11 months ago

0.2.2

11 months ago

0.2.1

11 months ago

0.2.0

11 months ago

0.1.0

11 months ago

0.0.25

11 months ago

0.0.24

12 months ago

0.0.23

12 months ago

0.0.22

12 months ago

0.0.21

12 months ago

0.0.20

12 months ago

0.0.19

12 months ago

0.0.18

12 months 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