ipums / hlink

Hierarchical record linkage at scale
Mozilla Public License 2.0
12 stars 2 forks source link

Display the config file name in the command prompt #122

Closed riley-harper closed 1 year ago

riley-harper commented 1 year ago

Right now the hlink command prompt is hlink $. This is nice and simple, but for long-running hlink processes it can be hard to remember which config file is running. To fix this, let's include the config file name in the command prompt. Something like hlink (config-name)$ seems nice.

We can do this by setting Main.prompt when we create Main instead of defining it as a class-level variable.