added type aliases to cli pipe