← Commit history
0.7.18: carbon user update --email-public
4 files changed
+14−6
SKILL.md+1−1@@ -24,7 +24,7 @@ New to the CLI, or hitting auth errors? Read skills/setup/SKILL.md. | Hydrogen workspace: tabs, panes, splits, panels | skills/workspace/SKILL.md | | Hydrogen IDE settings and keybindings | skills/hydrogen-settings/SKILL.md | | Browser notifications to the editor | skills/notify/SKILL.md |-| User profile and avatar | skills/user-profile/SKILL.md |+| User profile, avatar, show or hide your email (is_email_public, wiki no-reply commits) | skills/user-profile/SKILL.md | | Public user lookup | skills/users/SKILL.md | | Workspaces list | skills/workspaces/SKILL.md | | Active sessions | skills/sessions/SKILL.md |
adom-cli⋯ 1 unchanged line ⋯
package.json+1−1@@ -1,6 +1,6 @@ { "slug": "adom-cli",- "version": "4.3.19",+ "version": "4.3.20", "type": "app", "org": "adom", "description": "Adom CLI \u2014 platform binary for containers, repos, workspaces, orgs, SSH keys, Hydrogen settings, and more",
skills/adom-cli/user-profile/SKILL.md+12−4@@ -1,6 +1,6 @@ --- name: user-profile-description: "Adom User Profile: Get/update profile and manage avatar."+description: "Adom User Profile: get/update profile, show or hide your email (is_email_public, wiki commit email, no-reply address), manage avatar." --- # User Profile Management@@ -12,6 +12,7 @@ Manage the authenticated user's profile on the Adom platform. - User asks to see their profile, account info, or "who am I" - User wants to change their username or display name - User asks about their avatar or wants to change it+- User wants their email hidden or shown on their profile or wiki pages, or asks what a `users.noreply.adom.inc` address is ## Commands @@ -19,13 +20,20 @@ Manage the authenticated user's profile on the Adom platform. ```bash adom-cli carbon user get ```-Returns: name, display_name, email, bio, company, location, avatar_url, repo counts, admin status, etc.+Returns: name, display_name, email, is_email_public, bio, company, location, avatar_url, repo counts, admin status, etc. A `hint [EMAIL_PUBLIC]` or `hint [EMAIL_PRIVATE]` line on stderr says what the email setting means and the command that flips it. ### Update profile ```bash adom-cli carbon user update --name "newusername" --display-name "New Display Name" ```-Both flags are optional — only include what needs to change.+Every flag is optional; include only what needs to change (with none, nothing is sent).++### Show or hide your email+```bash+adom-cli carbon user update --email-public false # keep it private+adom-cli carbon user update --email-public true # show it+```+One setting, `is_email_public` on your account, decides where your email shows. Public profiles honor it, and so does the wiki: when it is true, the commits the wiki makes for you carry your email. When it is false they carry a no-reply address, `<handle>@users.noreply.adom.inc`, which names you without exposing your inbox; new wiki pages get no author email, and the email the wiki wrote into older pages is served without it. The wiki picks up a change within five minutes. `adom-wiki whoami` (EMAIL_VISIBILITY) and `adom-wiki page create` (COMMITS_USE_NOREPLY) point back to this command. ### Upload avatar ```bash@@ -42,4 +50,4 @@ Resets to the default generated avatar. ## Authentication -In Adom containers, no setup is needed — the CLI auto-reads the token from `/var/run/adom/api-key`. Just run commands directly. See the [setup](../setup/SKILL.md) skill for details.+In Adom containers, no setup is needed: the CLI auto-reads the token from `/var/run/adom/api-key`. Just run commands directly. See the [setup](../setup/SKILL.md) skill for details.