COFFEE(1)
π COFFEE(1) β the coffee manual, but make it cute π
okay so bestie, welcome to coffee(1), a User Commands girly. she is the interpreter and compiler for the CoffeeScript language. yes she runs your code, yes she compiles your code, yes she does both, she's versatile like that π
β¨ NAME β¨
coffee β interpreter and compiler for the CoffeeScript language π«Ά
πΈ SYNOPSIS πΈ
coffee [options] path/to/script.coffee [args]
π DESCRIPTION π
okay so the vibe is simple: if you call coffee with no options at all, she will literally just run your script. that's it. that's the whole energy. no cap. β¨
π the options, one by one, no skips π
--astβ generate an abstract syntax tree of nodes. the whole tree. nodes and everything. π³-b,--bareβ compile without a top-level function wrapper. she's going out bare-faced, no wrapper, iconic. π-c,--compileβ compile to JavaScript and save as.jsfiles. so your coffee becomes js, slay. π₯-e,--evalβ pass a string from the command line as input. just hand her a lil string, she'll take it from there. π-h,--helpβ display this help message. hi, this is the help, you found it bestie π«Ά-i,--interactiveβ run an interactive CoffeeScript REPL. come hang out, type stuff, see what happens. main character energy. π-j,--joinβ concatenate the source CoffeeScript before compiling. all the files, one big girl. π-l,--literateβ treat stdio as literate style coffeescript. lowercase "coffeescript", that's how she wrote it, i don't make the rules. π-m,--mapβ generate source map and save as.js.mapfiles. maps! so you can find your way home. πΊοΈ-M,--inline-mapβ generate source map and include it directly in output. same map, but she's carrying it on her, inline, no separate file. π-n,--nodesβ print out the parse tree that the parser produces. the parser's tree. printed. that's the whole thing. π³--nodejsβ pass options directly to the"node"binary. straight to node, no middleman. β--no-headerβ suppress the"Generated by"header. bye bye header, we don't know her. π-o,--outputβ set the output path or path/filename for compiled JavaScript. tell her where to put the js, she'll put the js there. π-p,--printβ print out the compiled JavaScript. just show me the js, don't write a file, i'm nosy. π-r,--requireβ require the given module before eval or REPL. load it up first, then eval or REPL. π§-s,--stdioβ listen for and compile scripts over stdio. she's listening bestie, talk to her through stdio. π§-t,--transpileβ pipe generated JavaScript through Babel. babel gets the js after coffee's done with it. β¨--tokensβ print out the tokens that the lexer/rewriter produce. lexer and rewriter, both of them, tokens out. π€-v,--versionβ display the version number. she'll tell you her version, no mystery. π-w,--watchβ watch scripts for changes and rerun commands. she's watching. she's always watching. changes happen, commands rerun. ποΈ
ok literally that's the whole manual, every flag, nothing skipped, i would never gatekeep a flag from you π«Ά
sign-off time π β this lil beauty is coffee version 2.7.0+dfsg1, and she's dated May 2024. that's the source, that's the version, that's the date, mwah π bye bestie, go compile something iconic β¨π
π
π¦ where this page comes from
- debian trixie: coffeescript 2.7.0+dfsg1-2 Β· MIT
- ubuntu questing: coffeescript 2.7.0+dfsg1-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms