A CLI wrapper for Mercury-OCIP
Project description
Mercury CLI
A command-line interface for managing and automating Broadworks provisioning operations.
Installation
Prerequisites
- Python 3.12 or higher
- Access to a Broadworks provisioning server
Getting Started
Launch the CLI by running:
mercury-cli
On first launch, you will be prompted to authenticate with your Mercury server credentials:
- Username
- Password
- Server URL (e.g., https://mercury.example.com/webservice/services/ProvisioningService)
- TLS option (defaults to yes)
Skip Authentication (Development)
For testing purposes, you can skip the login prompt via the --no-login flag:
mercury-cli --no-login
Available Commands
General Commands
| Command | Description |
|---|---|
help [command] |
Display available commands or get help for a specific command |
sysver |
Display the current system software version |
clear |
Clear the terminal screen |
exit |
Exit the CLI |
Bulk Operations
The CLI supports bulk creation and modification operations using CSV files.
Bulk Create
| Command | Description |
|---|---|
bulk create hunt_group <file_path> |
Create hunt groups from CSV |
bulk create call_pickup <file_path> |
Create call pickup groups from CSV |
bulk create call_center <file_path> |
Create call centers from CSV |
bulk create auto_attendant <file_path> |
Create auto attendants from CSV |
Bulk Modify
| Command | Description |
|---|---|
bulk modify call_center agent_list <file_path> |
Modify call center agent lists from CSV |
Plugin Commands
Mercury CLI supports a plugin system for extending functionality.
| Command | Description |
|---|---|
plugin list |
List all available plugins |
Loaded plugins automatically register their own commands and subcommands.
Features
- Tab completion for commands and file paths
- Command history with auto-suggest
- Input validation
- Progress indicators for long-running operations
- Detailed error reporting for bulk operations
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mercury_cli-0.2.1b0.tar.gz.
File metadata
- Download URL: mercury_cli-0.2.1b0.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8280bbe7e469cec043cdb5e903389f5c95666ecb03af2318ca727c5061b2f77
|
|
| MD5 |
7ea243ba3a3d57b5bc8ac4c06cb23704
|
|
| BLAKE2b-256 |
d0cef7451f03bc53bc9e094fc1b4110dcfe516cefb6eb51138cc9a0da2f28d36
|
File details
Details for the file mercury_cli-0.2.1b0-py3-none-any.whl.
File metadata
- Download URL: mercury_cli-0.2.1b0-py3-none-any.whl
- Upload date:
- Size: 22.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d752faa6b489ae23412488d454e1ee98cb3a1cd375f7cfb1c3d7cf047ef16d0a
|
|
| MD5 |
3f5bea9996ce7f64e9dd0dba145e048f
|
|
| BLAKE2b-256 |
8f6dff991f72e03d9577404917cefd0e35f36aead2a035b5056fb176165fcb42
|