Skip to content

Commit 2483a2f

Browse files
committed
Merge main into codex/statuspage-migrate-cli
Resolve conflicts in .gitignore, internal/cli/root.go, and internal/cli/status_page.go. Keep main's three-group goimports layout and newClientFn factory pattern; add PR's loadResolvedConfig helper (consumed by status_page_migrate.go) and reuse it from defaultNewClient to avoid duplicating flag-override logic. Keep PR's README expansion for the statuspage section; drop PR's docs/superpowers/ gitignore in favor of main's broader docs/ rule.
2 parents e430650 + 88361ff commit 2483a2f

81 files changed

Lines changed: 9364 additions & 2181 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/e2e.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: E2E Tests
2+
3+
on:
4+
workflow_dispatch:
5+
6+
permissions:
7+
contents: read
8+
9+
jobs:
10+
e2e:
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 10
13+
14+
steps:
15+
- name: Check out code
16+
uses: actions/checkout@v4
17+
18+
- name: Set up Go
19+
uses: actions/setup-go@v5
20+
with:
21+
go-version-file: "go.mod"
22+
23+
- name: Download dependencies
24+
run: go mod download
25+
26+
- name: Run E2E tests
27+
env:
28+
FLASHDUTY_E2E_APP_KEY: ${{ secrets.FLASHDUTY_E2E_APP_KEY }}
29+
FLASHDUTY_E2E_BASE_URL: ${{ secrets.FLASHDUTY_E2E_BASE_URL }}
30+
run: go test -tags e2e -race -v -timeout 10m ./e2e/

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ bin/
77
*.test
88
*.out
99
.DS_Store
10-
docs/superpowers/
10+
docs/

README.md

Lines changed: 50 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,70 @@
11
# Flashduty CLI
22

3+
English | [中文](README_zh.md)
4+
35
A command-line interface for the [Flashduty](https://flashcat.cloud) platform. Manage incidents, on-call schedules, status pages, and more from your terminal.
46

57
## Installation
68

7-
### Pre-built binaries
9+
### macOS / Linux
10+
11+
```bash
12+
curl -sSL https://raw.githubusercontent.com/flashcatcloud/flashduty-cli/main/install.sh | sh
13+
```
14+
15+
### Windows (PowerShell)
816

9-
Download the latest release for your platform from [GitHub Releases](https://github.com/flashcatcloud/flashduty-CLI/releases).
17+
```powershell
18+
irm https://raw.githubusercontent.com/flashcatcloud/flashduty-cli/main/install.ps1 | iex
19+
```
1020

11-
### Build from source
21+
### Go Install
1222

1323
```bash
1424
go install github.com/flashcatcloud/flashduty-cli/cmd/flashduty@latest
1525
```
1626

17-
Or clone and build:
27+
> Make sure `$(go env GOPATH)/bin` is in your `PATH`. If `flashduty` is not found after install, run:
28+
> ```bash
29+
> export PATH="$(go env GOPATH)/bin:$PATH"
30+
> ```
31+
32+
### Manual Download
33+
34+
Download the latest release for your platform from [GitHub Releases](https://github.com/flashcatcloud/flashduty-cli/releases).
35+
36+
### Options
37+
38+
| Variable | Description | Default |
39+
|----------|-------------|---------|
40+
| `FLASHDUTY_VERSION` | Install a specific version (e.g. `v0.1.2`) | latest |
41+
| `FLASHDUTY_INSTALL_DIR` | Custom install directory | `/usr/local/bin` (shell), `~\.flashduty\bin` (PowerShell) |
42+
43+
## Agent Skills
44+
45+
Flashduty CLI ships with 9 agent skills that teach AI coding agents how to operate Flashduty from your terminal. Compatible with 41+ agents including Claude Code, Cursor, GitHub Copilot, Codex, Gemini CLI, Windsurf, and more.
1846
1947
```bash
20-
git clone https://github.com/flashcatcloud/flashduty-CLI.git
21-
cd flashduty-CLI
22-
make build
48+
npx skills add flashcatcloud/flashduty-cli -y -g
2349
```
2450
25-
The binary will be at `bin/flashduty`.
51+
The installer auto-detects which agents you have and installs skills to all of them.
52+
53+
### Available Skills
54+
55+
| Skill | Scope |
56+
|-------|-------|
57+
| `flashduty-shared` | Foundation: authentication, 3-layer model, global flags, safety rules |
58+
| `flashduty-incident` | Incident lifecycle: triage, investigate, resolve, merge, snooze, reassign |
59+
| `flashduty-alert` | Alert and alert event investigation: drill down, trace, merge |
60+
| `flashduty-change` | Change event tracking and deployment frequency trends |
61+
| `flashduty-oncall` | On-call schedule queries: who is on call, shift details |
62+
| `flashduty-channel` | Channel and escalation rule lookups |
63+
| `flashduty-insight` | Analytics: MTTA/MTTR, noise reduction, notification trends |
64+
| `flashduty-admin` | Team/member lookups and audit log search |
65+
| `flashduty-template` | Notification template validation and preview |
66+
67+
---
2668

2769
## Quick Start
2870

0 commit comments

Comments
 (0)