red-data-tools / YouPlot

A command line tool that draw plots on the terminal.
MIT License
4.04k stars 60 forks source link

configuration file #16

Closed kojix2 closed 1 year ago

kojix2 commented 3 years ago

YouPlot is a Ruby script, and its configuration is easy. However, it may be useful to have a configuration file. I'm not sure if this is really necessary. It's just an idea.

kojix2 commented 1 year ago

A very simple YAML file is available.

width : 40
height : 20

You can specify the file location with the YOUPLOTRC environmental variable. The default location is here. ./.youplot.yml ./.youplotrc If there is a configuration file in the working directory, that is used. ~/.youplot.yml, ~/.youplotrc