find_probable_files_from_command#

maize.utilities.utilities.find_probable_files_from_command(command: str | list[str]) list[Path][source]#

Finds possible files from a command string.

Should not be fully relied upon, as a file located in the current directory with no suffix will not be easily identifiable as such.

Parameters:

command – String or list of tokens to check for files

Returns:

Listing of Path objects, or an empty list if no files were found

Return type:

list[Path]