terminal/utils library

Functions

areFSEntiesExist(List<String> paths) String?
Check if give File or Directory exists at the give paths, if not returns the failed FileSystemEntity path
createDirIfNotExist(String dirPath) Directory
Creates Directory in the given dirPath if not exists
createFileIfNotExist(String filePath) File
Creates File in the given filePath if not exists
generateError(Exception e, String? error) String
Generate custom error message
prettifyJsonEncode(Object? map) String
Returns a prettified json string
printStatus(String message) → void
Print status