HPInc / HP-Digital-Microfluidics

HP Digital Microfluidics Software Platform and Libraries
MIT License
2 stars 0 forks source link

Add search path for input files #230

Open EvanKirshenbaum opened 5 months ago

EvanKirshenbaum commented 5 months ago

Currently, in order to read input files, you have to specify them directly, e.g.,

--macro-file ../inputs/macros.dmf

If there are going to be multiple macro files and if I'm adding board layout files (#122), it would be nice if I could add an environment variable (and, probably, include dir arguments) to specify a search path that's searched for files, so you could just say

--macro-file macros.dmf --macro-file osu.dmf --board joey.bd

Probably want these params to be specifiable with multiple values, either splitting on space or comma (like units args) or, probably better, using nargs("*") and action("extend") to allow multiple values for each argument and the argument to be specified multiple times.

Migrated from internal repository. Originally created by @EvanKirshenbaum on Feb 03, 2023 at 11:23 AM PST.