june.paths.path_for_name

june.paths.path_for_name(name: str) → pathlib.Path

Get a path input using a flag when the program is run.

If no such argument is given default to the directory above the june with the name of the flag appended.

e.g. –data indicates where the data folder is and defaults to june/../data

name

A string such as “data” which corresponds to the flag –data

A path