Skip to content

Command Line Options

C272 edited this page Mar 9, 2020 · 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.
-x --css Generates a CSS file containing all the styles defined in the Iro grammar.

Clone this wiki locally