Extract command from source.