resolve_planning_args.hpp file
Resolve planning file arguments and directory context.
Provides a single free function that normalises the planning-file list and directory options before any JSON parsing takes place. Three convenience features are implemented:
- Directory as argument:
dir→dir/basename(dir).jsonwith input/output directories set relative todir. - Bare stem fallback:
name(not a dir, not a file) →name.json. - Auto-detect CWD: no files given → look for
cwd_name.json.
Namespaces
- namespace gtopt