Selecting configurations in CI

I am looking for a way in Psi4 to specify the configurations to be included in a MCSCF/CI calculation. Something that allows me to set those either by hand, or allows me to build a custom made function that generates a list of configurations and can then pass them to detci.
Basically something similar to the Molpro’s CON card.
Is this possible?

@sherrill Would have a better answer.