🔣 nerdfix helps you to find/fix obsolete Nerd Font icons in your project.
This releases primarily introduces the predefined substitutions suggested in
#9 (thanks @Finii!) and also brings a few refactors on the CLI. Here are some
guides for migrating from v0.3
:
dump
instead of cache
to show all icons and substitutions in the
runtime database.nerdfix
supports the --replace FROM:TO
argument to
perform a prefix substitution, now it defines a new argument
--sub TYPE:FROM/TO
which supports both exact
and prefix
substitutions.
This means that you should use --sub prefix:FROM/TO
in place of the old
one.nerdfix
using the special -
path.prefix:mdi-/md-
a default substitutionnf-mdi-*
nf-
prefixes-v/-q
to control log levelnf-
prefixes--input
to load substitutionscolored
with nu_ansi_term
--replace
to global optionscache
to index
--verbose
to increase log levelfix --replace
to auto fix iconsfix --replace
search
to fuzzy search an iconcache
, check
and fix
commandsIndexMap
to store iconsRuntime
to a standalone module crate::runtime
crate::db
to crate::icon
Icon::codepoint
to char