Add Readme

dependabot/npm_and_yarn/Src/WebController/UI/websocket-extensions-0.1.4
Grzegorz Rychlik 2019-11-18 14:37:09 +01:00
parent 0230687c6b
commit 6aa3264759
2 changed files with 27 additions and 1 deletions

View File

@ -22,7 +22,7 @@ namespace MWR::C3::Linter
{
ConfigureParser();
m_ArgParser.parse(argc, argv);
m_Config = GetConfig();
m_Config = CreateConfig();
}
void ArgumentParser::ConfigureParser()

View File

@ -0,0 +1,26 @@
# C3 Channel Linter
Standalone tool to ease the development and debugging of channels.
## Usage
This tool provides console frontend for real channel usage
1. Parse the json returned from `GetCapability()` and validate it against C3 rules:
`-n ChannelName`
`--name ChannelName`
e.g. `ChannelLinter.exe -n UncShareFile`
Note: ChannelName is case sensitive and must be same as used for the class name.
2. Create instance of a channel:
`-a [Argument1 Argument2 ...]`
`--args [Argument1 Argument2 ...]`
e.g. `ChannelLinter.exe -n UncShareFile --args inputId outputId C:\Temp\C3Store false`
Note: Messeges logged by calls to `this->Log()` will not be displayed if the channel constructor throws.
3. Test channel permeability - create a complemetary pair of channels and send message through.
`-i`
`--test-io`
e.g. `ChannelLinter.exe -n UncShareFile --args inputId outputId C:\Temp\C3Store false -i`
4. Execute channel commmand:
`-x commandId [Argument1 Argument2 ...]`
`--command commandId [Argument1 Argument2 ...]`
e.g. `ChannelLinter.exe -n UncShareFile --args inputId outputId C:\Temp\C3Store false -x 0`