Skip to content

Command line interface

curlpipe edited this page Nov 4, 2020 · 5 revisions

Command line interface

This will cover how to start Ox from your command line and the options you can use to launch Ox in a specific way.

You can access the help menu by running

ox --help

This will display the help menu and provide a list of all the arguments available.

Ox can be started up by using the command

ox

This will launch Ox into a blank document, ready to be edited.

You can open files by providing the names like so:

ox file.rs

This will automatically open up the file file.rs

You can also open multiple files at once.

ox file1.rs file2.rs file3.rs

After running this, you'll see all your files (file1.rs, file2.rs, file3.rs in this case) opened in tabs across your screen.

You can check your version by running

ox --version

You can also change the configuration directory by running

ox --config /path/to/configuration.ron

The editor will read a specific configuration file on your system.

Clone this wiki locally