A command-line interface for the Liberdus messaging platform.
Clone the repository and install dependencies:
git clone https://github.com/Liberdus/liberdusText.git
cd liberdusText
npm install
Link the CLI tool globally:
npm link
This makes the liberdusText
command available system-wide.
The CLI tool provides three main functions:
liberdusText create <username>
Creates a new account with the specified username and stores it in accounts.json
.
liberdusText send <recipient> <message>
Sends a message to the specified recipient using the first account in accounts.json
.
liberdusText send2 <recipient> <message> <from>
Sends a message to the specified recipient using the account with the given username.
# Create a new account
liberdusText create myusername
# Send a message to a user named "friend"
liberdusText send friend "Hello, this is a test message!"