add
Add or update one key and push it as a proposal — no local files needed.
The fastest path from "add this key" to a reviewable draft — nothing is written
locally. Namespace is inferred when the project has exactly one; otherwise pass
-n.
lb add home.title "Welcome" # one-namespace project
lb add -n marketing cta.buy "Buy now" # explicit namespace
lb add -n common greeting "Olá" -l pt-BR # another localeArguments
| Argument | Notes |
|---|---|
<key> | Dotted key, e.g. home.title. |
<value> | Source text for the key. |
Options
| Flag | Env | Default | Notes |
|---|---|---|---|
-s, --session <id> | LB_SESSION | git branch | Grouping label for the push. |
Plus the common options. Targets one
project — with several configured, pass --project (or set LB_PROJECT). Like
push, it stages a proposal; review with
lb review.