andydevs / fractool

Generic fractal image generator
https://andydevs.github.io/fractool
MIT License
1 stars 0 forks source link

CLI Restructure #57

Closed andydevs closed 1 year ago

andydevs commented 1 year ago

New help string:

$ fractool [options]

Available Options:

Help:
  -h [ --help ]                     Produce help message
  -C [ --colormaps ]                List colormaps
  -A [ --algorithms ]               List algorithms

Algorithm:
  -a [ --algorithm ] algo           Use algorithm (see --algorithms)
  -p [ --parameter ] param=value    Set parameter. Set this option multiple 
                                    times to set multiple parameters

Image:
  -c [ --colormap ] cmap            Use colormap (see --colormaps)
  -i [ --image-size ] width,height  Set image size

Algorithms:

Algorithms list:

        - julia
        - mandelbrot

Colormaps:

Colormaps list:

        - blue2red
        - flower
        - ink
        - red2blue