I think you will want to load a Context object from the workspace: https://github.com/catkin/catkin_tools/blob/master/catkin_tools/context.py
ctx = Context.load(opts.workspace, opts.profile, load_env=False)

Which shows you can also leverage the arguments from the context parser using add_context_args(parser)