Skip to content

Commit d92f103

Browse files
authored
Merge pull request #146 from TraGicCode/chore/document-oh-my-posh-terminal-segment
Add section for terminal customizations with oh-my-posh. Also fix up introduction section
2 parents cef3782 + f35969c commit d92f103

File tree

14 files changed

+98
-33
lines changed

14 files changed

+98
-33
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55

66
# Overview
77

8-
**Busly CLI** is a lightweight, open source command-line tool that **allows developers to send messages to an NServiceBus endpoint at the power of their fingertips**no boilerplate code, no host applications, just quick and reliable messaging from your terminal.
8+
**Busly CLI** is a lightweight, open source command-line tool that **allows developers to send messages to an NServiceBus endpoint at the power of their fingertips**No boilerplate, no fuss, just messaging at your fingertips.
99

1010
Built for speed and simplicity, this tool streamlines common **messaging**, **testing**, and **debugging** scenarios when working with **NServiceBus** and **message-driven architectures**. **Busly CLI** is fully **cross-platform**, running on Windows, macOS, and Linux, and offers **multiple installation options** to suit your workflow. Whether you’re validating endpoints, simulating events, or quickly **implementing a proof of concept (POC)** for a new messaging solution, this CLI lets you publish or send messages instantly, giving you full control of your distributed system from the command line.
1111

1212
## Key Features
1313

14-
- 🚀 **Send messages via CLI** – Quickly send commands or publish events to NServiceBus endpoints.
15-
- 🧩 **Supports custom message types** – Define and send serialized payloads that match your message contracts.
16-
- 🌐 **Supported transports** – Works with **Azure Service Bus**, **RabbitMQ**, and **AWS SQS**.
17-
- ⚙️ **Transport configuration file** – Configure and easily switch between multiple transports. Transports can run on your **local machine** or be pointed to **development**, **staging**, or **production** environments.
18-
- 💻 **Cross-platform support** – Works seamlessly on Windows, macOS, and Linux.
19-
- 📦 **Multiple installation options** – Install via **Chocolatey**, **Docker**, **.NET tool (via NuGet)**, or by **downloading the binary directly from GitHub Releases**.
14+
- 🚀 **Send messages via CLI** – Quickly send commands or publish events to NServiceBus endpoints.
15+
- 🧩 **Supports custom message types** – Define and send serialized payloads that match your message contracts.
16+
- 🌐 **Supported transports** – Works with **Azure Service Bus**, **RabbitMQ**, and **AWS SQS**.
17+
- ⚙️ **Transport configuration file** – Configure and easily switch between multiple transports. Transports can run on your **local machine** or be pointed to **development**, **staging**, or **production** environments.
18+
- 💻 **Cross-platform support** – Works seamlessly on Windows, macOS, and Linux.
19+
- 📦 **Multiple installation options** – Install via **Chocolatey**, **Docker**, **.NET tool (via NuGet)**, or by **downloading the binary directly from GitHub Releases**.
2020

2121
## Docs
2222

website/blog/2025-12-04-introduction.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,26 @@ authors: tragiccode
55
tags: []
66
---
77

8-
Working with **NServiceBus** shouldn’t require spinning up a whole host application just to send a message. That’s why we built **Busly CLI** — a lightweight, cross-platform command-line tool that lets you **send commands and events instantly**. No boilerplate, no fuss, just messaging at your fingertips.
8+
Working with **NServiceBus** shouldn’t require spinning up a whole host application just to send a message. That’s why I built **Busly CLI** — a lightweight, cross-platform command-line tool that lets you **send commands and events instantly**. No boilerplate, no fuss, just messaging at your fingertips.
99

1010
<!-- truncate -->
1111

1212
## Why You’ll Love Busly CLI
1313

14-
- 🚀 **Send messages straight from your terminal**
15-
- 🧩 **Use custom message types** that match your contracts
16-
- 🌐 **Works with Azure Service Bus, RabbitMQ, and AWS SQS**
17-
- ⚙️ **Easily switch transports** between local, dev, staging, or production
18-
- 💻 **Runs on Windows, macOS, and Linux**
19-
- 📦 **Install your way**: Chocolatey, Docker, .NET tool, or GitHub binary
14+
- 🚀 **Send messages straight from your terminal**
15+
- 🧩 **Use custom message types** that match your contracts
16+
- 🌐 **Works with Azure Service Bus, RabbitMQ, and AWS SQS**
17+
- ⚙️ **Easily switch transports** between local, dev, staging, or production
18+
- 💻 **Runs on Windows, macOS, and Linux**
19+
- 📦 **Install your way**: Chocolatey, Docker, .NET tool, or GitHub binary
2020

2121
## Help Us Reach 1.0.0
2222

23-
Busly CLI is shaping up fast, but we need your help to make **version 1.0.0 rock-solid**:
23+
Busly CLI is shaping up fast, but I need your help to make **version 1.0.0 rock-solid**:
2424

25-
- **Try it out** and let us know what works (or doesn’t).
26-
- **Report bugs** on GitHub — every issue helps!
27-
- **Contribute** code, docs, or ideas — every contribution counts.
25+
- **Try it out** and let us know what works (or doesn’t).
26+
- **Report bugs** on GitHub — every issue helps!
27+
- **Contribute** code, docs, or ideas — every contribution counts.
2828

2929
Together, we can make **Busly CLI** the go-to tool for messaging in NServiceBus. Jump in, experiment, and help us get to that **stable 1.0.0 release**!
3030

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"label": "Configuration",
3-
"position": 3
3+
"position": 2
44
}

website/docs/getting-started/_category_.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

website/docs/getting-started/getting-started.mdx

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"position": 1,
3+
"collapsed": false
4+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
sidebar_position: 1
3+
title: Introduction
4+
---
5+
6+
import DocCardList from "@theme/DocCardList";
7+
import BuslyLogoImageUrl from '@site/static/img/busly-logo.png';
8+
9+
<div align="center">
10+
<img src={BuslyLogoImageUrl} width="40%" />
11+
</div>
12+
13+
# What is Busly CLI?
14+
15+
**Busly CLI** is a lightweight, open source command-line tool that **allows developers to send messages to an NServiceBus endpoint at the power of their fingertips** — No boilerplate, no fuss, just messaging at your fingertips.
16+
17+
Built for speed and simplicity, this tool streamlines common **messaging**, **testing**, and **debugging** scenarios when working with **NServiceBus** and **message-driven architectures**. **Busly CLI** is fully **cross-platform**, running on Windows, macOS, and Linux, and offers **multiple installation options** to suit your workflow. Whether you’re validating endpoints, simulating events, or quickly **implementing a proof of concept (POC)** for a new messaging solution, this CLI lets you publish or send messages instantly, giving you full control of your distributed system from the command line.
18+
19+
## Key Features
20+
21+
- 🚀 **Send messages via CLI** – Quickly send commands or publish events to NServiceBus endpoints.
22+
- 🧩 **Supports custom message types** – Define and send serialized payloads that match your message contracts.
23+
- 🌐 **Supported transports** – Works with **Azure Service Bus**, **RabbitMQ**, and **AWS SQS**.
24+
- ⚙️ **Transport configuration file** – Configure and easily switch between multiple transports. Transports can run on your **local machine** or be pointed to **development**, **staging**, or **production** environments.
25+
- 💻 **Cross-platform support** – Works seamlessly on Windows, macOS, and Linux.
26+
- 📦 **Multiple installation options** – Install via **Chocolatey**, **Docker**, **.NET tool (via NuGet)**, or by **downloading the binary directly from GitHub Releases**.
27+
28+
<DocCardList />
File renamed without changes.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"position": 4
3+
}

website/docs/terminal/terminal.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Terminal Customizations
2+
3+
If you use **Busly CLI** often, you may want to customize your terminal to always display the currently configured transport. This is especially helpful to quickly know whether you’re pointing to your local or a non-production environment.
4+
5+
Below is an example configuration using **Oh My Posh** to display the current transport in your prompt:
6+
7+
![Busly Oh My Posh Custom Segment](../../static/gifs/terminal-customization-oh-my-posh.gif)
8+
9+
---
10+
11+
## Oh My Posh Custom Segment
12+
13+
Assuming **Oh My Posh** is installed and configured for your shell, you can extend your theme by adding a **command segment** that invokes `busly transport current`:
14+
15+
```json
16+
{
17+
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
18+
"blocks": [
19+
{
20+
"type": "prompt",
21+
"alignment": "left",
22+
"segments": [
23+
// ... your existing segments ...
24+
{
25+
"type": "command",
26+
"style": "powerline",
27+
"powerline_symbol": "\ue0b0",
28+
"background": "#4e9a06",
29+
"foreground": "#000000",
30+
"properties": {
31+
"shell": "cmd",
32+
"command": "/c busly transport current"
33+
},
34+
"template": "🚌 {{ .Output }}"
35+
}
36+
]
37+
}
38+
],
39+
"final_space": true
40+
}
41+
```

0 commit comments

Comments
 (0)