.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2. .TH LIVESCRIPT "1" "June 2022" "LiveScript version 1.6.1" "User Commands" .SH NAME LiveScript \- manual page for LiveScript version 1.6.1 .SH SYNOPSIS .B lsc [\fI\,option\/\fR]... [\fI\,file\/\fR]... .SH DESCRIPTION Use 'lsc' with no options to start REPL. .SS "Misc:" .TP \fB\-v\fR, \fB\-\-version\fR display version .TP \fB\-h\fR, \fB\-\-help\fR display this help message .TP \fB\-c\fR, \fB\-\-compile\fR compile to JavaScript and save as .js files .TP \fB\-e\fR, \fB\-\-eval\fR code::String pass as string from the command line as input .TP \fB\-d\fR, \fB\-\-prelude\fR automatically import prelude.ls in REPL .TP \fB\-r\fR, \fB\-\-require\fR paths::[String] require libraries before executing .TP \fB\-s\fR, \fB\-\-stdin\fR read stdin .TP \fB\-j\fR, \fB\-\-json\fR print/compile as JSON .TP \fB\-n\fR, \fB\-\-nodejs\fR pass options after this through to the 'node' binary .TP \fB\-w\fR, \fB\-\-watch\fR watch scripts for changes, and repeat .TP \fB\-k\fR, \fB\-\-const\fR compile all variables as constants .SS "Output control:" .TP \fB\-o\fR, \fB\-\-output\fR path::String compile into the specified directory .TP \fB\-p\fR, \fB\-\-print\fR print the result to stdout .TP \fB\-b\fR, \fB\-\-bare\fR compile without the top\-level function wrapper .TP \fB\-\-no\-header\fR do not add "Generated by" header .TP \fB\-l\fR, \fB\-\-lex\fR print the tokens the lexer produces .TP \fB\-t\fR, \fB\-\-tokens\fR print the tokens the rewriter produces .TP \fB\-a\fR, \fB\-\-ast\fR print the syntax tree the parser produces .TP \fB\-\-debug\fR print debug output when compiling .TP \fB\-m\fR, \fB\-\-map\fR String generate source maps \- either: 'none', 'linked', 'linked\-src', 'embedded', or 'debug' .TP \fB\-\-no\-warn\fR suppress compiler warnings .PP Version 1.6.1