Custom hook that provides command execution functionality and current scope.
Object containing executeCommand function and currentScope state
Custom hook that provides command execution functionality and current scope.