Skip to content

Arguments

Poly edited this page Jun 8, 2021 · 2 revisions

Command-line Arguments

There are a few useful command-line arguments that can be used to customize how ix works, such as:


-c | --config

Overwrite the default configuration file path.
Path must also contain the configuration file name.
The default filename is ixrc but this can be overwritten.


-d | --directory

Overwrite the default directory where ix will look for files to parse.
The directory will be parsed recursively, all the way to the lowest depth.


-f | --field

Get the value of a specific field from the configuration and return it directly to stdout.
Helpers can be used in combination with the field right from the command-line.
Example:


# Without helpers
ix -f colors.black

# With helpers
ix -f "hex colors.black"

--full

Ignore the cache and parse every ix compatible file within the given directory.

Clone this wiki locally