Skip to content

Command Line Options

C272 edited this page Jan 16, 2023 · 9 revisions

Below are all the possible command line options in iro4cli. These must be entered after the file path to a grammar which is always the first argument supplied to the program.

Short Name Long Name Description
-t --textmate Generates a .tmLanguage file in the same directory that the program is run.
-v --vscode Generates a Visual Studio Code extension in a subfolder of the directory that the program is run in.
-e --atomext Generates an Atom extension using a CoffeeScript Textmate grammar in a subfolder of the directory that the program is run in.
-a --atom Generates a CSON Textmate file, compatible with Atom packages.
-c --ace Generates an Ace Editor grammar file in the same directory that the program is run.
-p --pygments Generates a Pygments grammar file in the same directory that the program is run.
-r --rouge Generates a Rouge grammar file in the same directory that the program is run.
-s --sublime Generates a Sublime grammar extension, which can be loaded in the Sublime text editor. (currently unimplemented)
-x --css Generates a CSS file containing all the styles defined in the Iro grammar.
-o --output The directory that generated files should be outputted into.
N/A --version Displays version information for the current build of Iro4CLI.
Clone this wiki locally