A Node.js implementation of the GNU coreutils 'tee' redirection command version 8.32.
- Version:
- 1.0.1
- Source:
Members
(inner, constant) CMD_NODE :string
The coreutils node command
Type:
- string
- Source:
(inner, constant) CMD_NODE_VER :string
The coreutils node command version
Type:
- string
- Source:
(inner, constant) cmdOptions :object
Command line arguments
Type:
- object
- Source:
(inner, constant) errno :object
Imported error symbols/messages
Type:
- object
- Source:
- See:
(inner, constant) fileList :Set
Files given as command line arguments
Type:
- Set
- Source:
Methods
(inner) Main()
The application entry point function
- Source:
(inner) getError(Error) → {string}
Function to return error message
Parameters:
Name | Type | Description |
---|---|---|
Error |
number | number |
- Source:
Returns:
Error message
- Type
- string
(inner) getHelp() → {string}
Function to return help info
- Source:
Returns:
- Type
- string
(inner) parseCmdLine()
Command line parser function
- Source:
Requires:
(inner) processCmd()
Command processer function
- Source: