Repository navigation
Commands
Prints the version info of PoeFilterX
Usage: poefilterx --version
Prints out more detailed info regarding various commands
Usage: poefilterx --help
For help with a particular command, add --help after its name, for example poefilterx build --help.
Creates a project folder containing entrypoint.filterx and a stylesheet named after your project. This is a good place to start!
Usage: poefilterx init
Enter your project name at the prompt, or supply it with poefilterx init --name "My First Filter".
-
--name/--project-name— Project name. Spaces and punctuation are converted to hyphens, and the name is lowercased. -
--path— Parent directory for the new project folder. Defaults to the current directory.
Compiles a .filterx file into a .filter file.
Usage: poefilterx build [path]
Build is also the default command, so poefilterx and poefilterx entrypoint.filterx work too.
When you omit the path, PoeFilterX looks in the current directory for entrypoint.filterx or a filename ending in .entrypoint.filterx. If several match, supply the path you want to build.
-
--path/--p— Input file, as an alternative to the positional path. -
--output/--o— Output file. Defaults to the input file's path with its extension changed to.filter. -
--verbosity/-v/--v— Minimum log level:Trace,Debug,Information,Warning,Error,Critical, orNone. Defaults toInformation. -
--no-restore— Build using packages that have already been restored. -
--locked— Require a package lockfile matching the project's package declarations. -
--VariableName value— Set a variable for this build, for example--League SSF. See Variable Injection.
For more detail while building, try poefilterx --verbosity Debug.
Downloads the Git packages declared by your entrypoint.
Usage: poefilterx restore [path]
Omit the path to discover an entrypoint in the current directory, using the same rules as Build.
-
--update— Update packages with unpinned declarations to their repositories' latest HEAD commits. -
--locked— Require a matching lockfile and preserve its contents.
Builds restore packages automatically. Use this command when you want to restore or update packages separately.
See Packages for declaring packages and pinning versions.
Shows which filter block and styles apply to an item copied from the game.
Usage: poefilterx check [path]
Hover an item in game and press Ctrl+C. Run the command, paste the item text, then press Enter on an empty line.
-
--item-file— Read copied item text from a file. -
--item— Supply the copied text as an argument. -
--game—Poe1orPoe2. Defaults toPoe1. -
--area-level— Level of the area where the item drops. Defaults to 83 for PoE 1 or 80 for PoE 2. -
--fact— Supply an item property, for example--fact BaseArmour=100. Separate text alternatives with|. -
--define— Set a compiler variable, for example--define League=SSF. -
--format—TextorJson. Defaults toText.
Package options --no-restore and --locked work here too.
See Inspecting Items for the VS Code inspector.