You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: rename project to firebase-auth-cli with fire-auth binary
The old name "fbadmin" implied broader Firebase Admin SDK coverage.
This tool only does Firebase Authentication, so the new names better
reflect its scope:
- Package: firebase-auth-cli
- Binary: fire-auth
- Env vars: FIRE_AUTH_*
- Config dir/file: fire-auth / .fire-auth.toml
Copy file name to clipboardExpand all lines: AGENTS.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Project overview
4
4
5
-
**fbadmin** is a Rust CLI for Firebase Authentication administration. It wraps the `rs-firebase-admin-sdk` crate and provides subcommands for user management, custom claims, auth action links, and emulator utilities.
5
+
**fire-auth** is a Rust CLI for Firebase Authentication administration. It wraps the `rs-firebase-admin-sdk` crate and provides subcommands for user management, custom claims, auth action links, and emulator utilities.
-**Error handling**: SDK calls return `Result<T, error_stack::Report<ApiClientError>>`. Use the `IntoAnyhow` trait (`.into_anyhow()`) to convert, then chain `.context("human-readable message")` for user-facing errors.
34
34
-**Interactive prompts**: When a required arg is `None`, command modules call `prompt::resolve_email()` or similar. These use `dialoguer` and are TTY-aware.
35
35
-**Output**: Always go through `output.rs` helpers (`render_single_record`, `render_table`, `render_success`, etc.) — they handle `--format` switching (table/json/csv) and colored output.
36
-
-**Config resolution**: Profile is resolved from CLI flag → `FBADMIN_PROFILE` env → `default_profile` in config. Connection merges profile settings with CLI overrides. See `config::resolve_connection()`.
36
+
-**Config resolution**: Profile is resolved from CLI flag → `FIRE_AUTH_PROFILE` env → `default_profile` in config. Connection merges profile settings with CLI overrides. See `config::resolve_connection()`.
37
37
-**Firebase init**: `firebase::init_firebase()` takes an `AuthBackend` enum (Emulator or Live with optional credentials/project). The `build_auth` helper in command modules wires config → AuthBackend → FirebaseAuth.
38
38
-**Logging**: `tracing` with `tracing-subscriber`. Controlled by `-v` flag count. Logs go to stderr. Use `tracing::debug!` for internal details, `tracing::info!` for notable operations.
Global config is stored by `confy` in the OS-appropriate location. A local `.fbadmin.toml` in the working directory is merged on top (field-level override).
49
+
Global config is stored by `confy` in the OS-appropriate location. A local `.fire-auth.toml` in the working directory is merged on top (field-level override).
Copy file name to clipboardExpand all lines: docs/RELEASING.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
-
# Releasing fbadmin
1
+
# Releasing fire-auth
2
2
3
3
Releases are automated via [cargo-dist](https://opensource.axo.dev/cargo-dist/). Pushing a semver tag triggers GitHub Actions which builds binaries, creates a GitHub Release, and publishes a Homebrew formula.
4
4
5
5
## Prerequisites
6
6
7
-
- Push access to `NeoScript/firebase-admin-cli`
8
-
-`HOMEBREW_TAP_TOKEN` repo secret set on `firebase-admin-cli` — a fine-grained PAT with **Contents: Read and write** on `NeoScript/homebrew-fbadmin`
7
+
- Push access to `NeoScript/firebase-auth-cli`
8
+
-`HOMEBREW_TAP_TOKEN` repo secret set on `firebase-auth-cli` — a fine-grained PAT with **Contents: Read and write** on `NeoScript/homebrew-fire-auth`
9
9
10
10
## Release checklist
11
11
@@ -45,7 +45,7 @@ Releases are automated via [cargo-dist](https://opensource.axo.dev/cargo-dist/).
45
45
git push origin main --tags
46
46
```
47
47
48
-
6.**Monitor** the Release workflow at https://github.com/NeoScript/firebase-admin-cli/actions
48
+
6.**Monitor** the Release workflow at https://github.com/NeoScript/firebase-auth-cli/actions
49
49
50
50
## What the workflow does
51
51
@@ -60,7 +60,7 @@ The `release.yml` workflow:
60
60
-`x86_64-pc-windows-msvc` (Windows x64)
61
61
3.**build-global-artifacts** — generates shell/powershell installer scripts and checksums
62
62
4.**host** — creates the GitHub Release and uploads all artifacts
63
-
5.**publish-homebrew-formula** — pushes a `.rb` formula to `NeoScript/homebrew-fbadmin`
63
+
5.**publish-homebrew-formula** — pushes a `.rb` formula to `NeoScript/homebrew-fire-auth`
64
64
6.**announce** — finalizes the release
65
65
66
66
## Configuration
@@ -73,7 +73,7 @@ cargo-dist-version = "0.31.0"
73
73
ci = "github"
74
74
installers = ["shell", "powershell", "homebrew"]
75
75
targets = [...]
76
-
tap = "NeoScript/homebrew-fbadmin"
76
+
tap = "NeoScript/homebrew-fire-auth"
77
77
publish-jobs = ["homebrew"]
78
78
```
79
79
@@ -96,6 +96,6 @@ To change targets, installers, or upgrade cargo-dist, edit this file and run `di
96
96
git push origin vX.Y.Z
97
97
```
98
98
99
-
- **Homebrew publish failed**: verify the `HOMEBREW_TAP_TOKEN` secret is set and the PAT hasn't expired. The token needs **Contents: Read and write** on `NeoScript/homebrew-fbadmin`.
99
+
- **Homebrew publish failed**: verify the `HOMEBREW_TAP_TOKEN` secret is set and the PAT hasn't expired. The token needs **Contents: Read and write** on `NeoScript/homebrew-fire-auth`.
100
100
101
101
- **Build failed for a target**: check the build logs in GitHub Actions. Common causes are missing system deps for cross-compilation or Rust version mismatches.
0 commit comments