Skip to content

Command line options

Ossama Hjaji edited this page Oct 30, 2020 · 15 revisions
   USAGE:
              onefetch [OPTIONS] [--] [input]

   OPTIONS:
       -a, --ascii-language <LANGUAGE>

              Which LANGUAGE's ascii art to print.

       -d, --disable-fields <FIELD>...

              Allows you to disable FIELD(s) from appearing in the output.

       --ascii-input <STRING>

              Takes a non-empty STRING as input to replace the ASCII logo. It is possible to pass a generated STRING by command substitution. For example:

              '--ascii-input "$(fortune | cowsay -W 25)"'

       -c, --ascii-colors <X>...

              Colors (X X X...) to print the ascii art.

       -t, --text-colors <X>...

              Changes the text colors (X X X...). Goes in order of title, ~, underline, subtitle, colon, and info. For example:

              '--text-color 9 10 11 12 13 14'

       --no-bold

              Turns off bold formatting.

       -l, --languages

              Prints out supported languages.

       -i, --image <IMAGE>

              Path to the IMAGE file.

       --image-backend <BACKEND>

              Which image BACKEND to use.

       --color-resolution <VALUE>

              VALUE of color resolution to use with SIXEL backend.

       --no-merge-commits

              Ignores merge commits.

       --no-color-palette

              Hides the color palette.

       -A, --authors-number <NUM>

              NUM of authors to be shown. [default: 3]

       -e, --exclude <EXCLUDE>...

              Ignore all files & directories matching EXCLUDE.

       --off

              Only shows the info lines.

       -h, --help

              Prints help information

       -V, --version

              Prints version information

   ARGS:
              <input>

              Run as if onefetch was started in <input> instead of the current working directory.
Clone this wiki locally