GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - typedefs/cli: Typedefs Command Line Interface

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
typedefs-cli-codegen.js
typedefs-cli-codegen.js
 
 
typedefs-cli.js
typedefs-cli.js
 
 
util.js
util.js
 
 

Repository files navigation

Build Status

Typedefs Commandline Tool

Use the Typedefs JS library from the commandline.

Note: this is for the convenience of NPM users, there is nothing JS or NPM specific about the Typedefs compiler and it can be installed without NPM. See https://github.com/typedefs/typedefs for more information.

Installation

To install this tool globally from NPM, run

# https://npm.im/typedefs
npm install -g typedefs

Usage

Usage: typedefs-cli [options] [command]

Options:
  -V, --version  output the version number
  -h, --help     output usage information

Commands:
  codegen        generate code from S-expression
  help [cmd]     display help for [cmd]

Using the code generator:

echo "(name Bit (+ 1 1))" | typedefs codegen --target json

Options:

  -i, --input [filename]   File to read input from
  -o, --output [filename]  File to write output to
  --force                  Force file overwrite
  -t, --target [platform]  Target platform: "haskell", "reasonml" or "json"

About

Typedefs Command Line Interface

Topics

cli-toolcode-generatortypedefs

Resources

Readme
Activity
Custom properties

Stars

3 stars

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.