(self, name: str)
return command
Lookup binary in cross/native file and fallback to environment.

        Returns command with args as list if found, Returns `None` if nothing is
        found.
Lookup binary in cross/native file and fallback to environment.
Lookup binary in cross / native file and fallback to environment .
def lookup_entry(self, name: str) -> T.Optional[T.List[str]]:
        """Lookup binary in cross/native file and fallback to environment.

        Returns command with args as list if found, Returns `None` if nothing is
        found.
        """
        command = self.binaries.get(name)
        if not command:
            return None
        elif not command[0].strip():
            return None
        return command
def lookup_entry ( self , name : str ) -> T . Optional [ T . List [ str ] ] : command = self . binaries . get ( name ) if not command : return None elif not command [ 0 ] . strip ( ) : return None return command