Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

TECHIO> message

Usage

TECHIO> message [OPTIONS] <STRING>

Description

Prints a STRING message to a channel.

  • When a string is printed to the standard output stream (without the use of a command), it is an implicit command message printed to the out channel.
  • When a string is printed to the standard error stream (without the use of a command), it is an implicit command message printed to the err channel.

When a message printed follows the format, FILENAME:LINE, where FILENAME matches with the name of a file of the client code editor, the text is transformed into a hyperlink which links to the associated code editor and line number.

Options

-c, --channel <CHANNEL> CHANNEL is a channel name where the message will be printed. If the channel is not specified, the default value is out. The channel name can be any string. It will create an associated channel on the client side.

Examples

Prints hello world on the standard output channel.

TECHIO> message hello world

Prints This is a debug message. on the user debug channel.

TECHIO> message --channel "user debug" This is a debug message.

Prints a message containing an hyperlink link to the line 5 of the Main.java code editor.

TECHIO> message There is an error in the file Main.java:5

Open Source Your Knowledge: become a Contributor and help others learn. Create New Content