chat

vb chat [SUBCOMMAND] [OPTIONS]

Description

This command performs actions associated with the /chat instance on the default remote VisionByte repository (the VisionByte repository whose URL shows when you run the vb remote command) or to the URL specified by the --remote option. If there is no default remote VisionByte repository and the --remote option is omitted, then this command fails with an error. Additional subcommands may be added in the future.

When there is no SUBCOMMAND (when this command is simply vb chat) the response is to bring up a web-browser window to the chatroom on the default system web-browser. You can accomplish the same by typing the appropriate URL into the web-browser yourself. This command is merely a convenience for command-line oriented people.

Options

--remote REMOTE

Use the specified remote repository instead of the default one

Subcommands

vb chat pull

vb chat pull [OPTIONS]

Description

Copy chat content from the server down into the local clone, as a backup or archive. Setup privilege is required on the server.

Options

--all

Download all chat content. Normally only previously undownloaded content is retrieved.

--debug

Additional debugging output

--out DATABASE

Store CHAT table in separate database file DATABASE rather than adding to local clone

--unsafe

Allows the use of unencrypted HTTP connections.

vb chat send

vb chat send [ARGUMENTS]

Description

This command sends a new message to the chatroom. The message to be sent is determined by arguments as follows:

Options

-f, --file FILENAME

File to attach to the message

--as FILENAME2

Causes --file FILENAME to be sent with the attachment name FILENAME2

-m, --message TEXT

Text of the chat message

--unsafe

Allows the use of unencrypted HTTP connections.

vb chat url

vb chat url

Description

Show the default URL used to access the chat server.

Examples

  • Show chat URL for the current repository

$ vb chat url
https://chat.example.com/chat