# Everything barnard59-shell declares in RDF: operations and CLI commands
# https://barnard59.zazuko.com/packages/shell

@prefix code: <https://code.described.at/>.
@prefix p: <https://pipeline.described.at/>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.

<http://barnard59.zazuko.com/operations/shell/after> a p:Operation, p:Readable, p:Writable;
  rdfs:comment "Runs the given command in a shell after all chunks have been processed.";
  rdfs:label "Shell (after)";
  code:implementedBy [ a code:EcmaScript;
      code:link <node:barnard59-shell/after.js>
    ].

<http://barnard59.zazuko.com/operations/shell/before> a p:Operation, p:Readable, p:Writable;
  rdfs:comment "Runs the given command in a shell before any chunk has been processed.";
  rdfs:label "Shell (before)";
  code:implementedBy [ a code:EcmaScript;
      code:link <node:barnard59-shell/begin.js>
    ].

<http://barnard59.zazuko.com/operations/shell/shell> a p:Operation, p:Readable, p:Writable;
  rdfs:comment "Runs the given command in a shell and forwards stdin and stdout.";
  rdfs:label "Shell";
  code:implementedBy [ a code:EcmaScript;
      code:link <node:barnard59-shell>
    ].
