Node Group Inputs

Hey guys,
Does anyone have a script/know how to write a simple one that lets you add inputs/outputs to a node group that aren’t available by socket connection? I’d like to connect a colorramp position slider to an input, and I have no idea how to do this. Thanks
[EDIT: Hehe, I guess not.]