ner shorthand

Token grammar, aliases, and expansion flow.

ner is the shorthand CLI (src/bin/ner.ts). It expands to verbose nertia commands.

Grammar

ner @mysite +hero              add marketing-hero
ner @mysite +hero +footer      batch add
ner @mysite ~zinc              set skin
ner @mysite -<instanceId>      remove section
ner help                       cheat sheet

Expansion flow

ner @site +hero +footer
        │
        ▼
expandNerShorthand()
        │
        ▼
nertia --slug site batch '[{ADD_SECTION...}, ...]'
        │
        ▼
runSiteCli() → putSite()

Requires --slug or @slug. Output is one JSON line: {"ok":true,"slug":"…","sections":N}.

Quick reference

Add:     ner @site +hero
Batch:   ner @site +hero +footer
Skin:    ner @site ~zinc
Remove:  ner @site -marketing-hero-1717000000000
Help:    ner help
ner shorthand — nertia docs