I wrote a command line library (can be seen in the scala trunk ) that allows you to switch the switch to have a "- - bash". If you run
./program
It calculates the completion file, writes it to the temp file and echo messages
. /path/to/temp/file
to the console. As a result, you can use backward measures:
`./program --bash`
and you will have a termination for the "program" in the current shell, since it will be the source of tempfile.
For a specific example: check the scala trunk and run test / partest.
extempore
source share