-
Notifications
You must be signed in to change notification settings - Fork 0
Arguments
Poly edited this page Jun 8, 2021
·
2 revisions
There are a few useful command-line arguments that can be used to customize how ix works, such as:
Overwrite the default configuration file path.
Path must also contain the configuration file name.
The default filename is ixrc but this can be overwritten.
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.
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"
Ignore the cache and parse every ix compatible file within the given directory.