Open monoclex opened 4 years ago
Feature description:
Pipes are everywhere in shell scripts, and an important part, as well as writing to files.
Suggested implementation:
@pipe_commands(string source, string destination) @pipe_commands(string source, string destination1, string destination2) ... @pipe_commands_to_file(string source, string file_destination, bool append) @pipe_commands_to_file(string source, string destination1, string file_destination, bool append) ...
source, and destination(n) can be thought of as @command() calls. If file_destination is not a valid file name, the program panics.
source
destination(n)
@command()
file_destination
Punted to 0.2.0 as strings may not be viable, some thought is needed.
string
Feature description:
Pipes are everywhere in shell scripts, and an important part, as well as writing to files.
Suggested implementation:
source
, anddestination(n)
can be thought of as@command()
calls. Iffile_destination
is not a valid file name, the program panics.