Socket
Book a DemoInstallSign in
Socket

@snakeskin/cli

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snakeskin/cli

The cli specific package

latest
npmnpm
Version
0.0.8
Version published
Maintainers
1
Created
Source

Command-line interface (CLI)

Check this part of the Langium Minilogo Tutorial as a useful guide to the CLI.

What's in the folder?

  • package.json - The manifest file of your cli package.
  • tsconfig.src.json - The package specific TypeScript compiler configuration extending the base config.
  • tsconfig.json - TypeScript compiler configuration options required for proper functionality of VSCode.
  • bin/cli.js - Script referenced in the package.json and used to execute the command-line interface.
  • src/cli/main.ts - The entry point of the command line interface (CLI) of your language.
  • src/cli/generator.ts - The code generator used by the CLI to write output files from DSL documents.
  • src/cli/util.ts - Utility code for the CLI.

Instructions

Run node ./bin/cli to see options for the CLI; node ./bin/cli generate <file> generates code for a given DSL file.

FAQs

Package last updated on 22 Nov 2024

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