Implementation for pmg potcar CLI.
gen_potcar
Generate POTCAR from POTCAR.spec in directories.
dirname (str) – Directory name.
filename (str) – Filename in directory.
generate_potcar
Generate POTCAR.
args (dict) – Args from argparse.
proc_dir
Process a directory.
procfilefunction (callable) – Callable to execute on directory.