Opening a terminal session at a Folder from Keyboard Maestro CLI

The issue I'm trying to get around is bash dropping the ccurrent working directory of a script when it's finished.

Currenlty I'm issuing source script-name.sh

Would it be possible to open a terminal session at a location using Keyboard Maestro Command Line App?

I'm not sure I am entirely understanding you, but if you want to open a Terminal window, and have it cd to a specific directory you can use the Execute an AppleScript action with this AppleScript (adjust the path as desired).

tell application "Terminal"
	do script "cd /"
end tell

The issue I want to get around is losing the current working directory when a bash script closes. I can do this manually using source script.sh or adding an open , at the end of the script abd then opening a terminal session from the selelcted folder in finder. So I could pass a directory via keyboardmaestro to open a terminal session at that path. Cool. Thanks.