exponential-cli 1.27.0 → 1.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -484,6 +484,38 @@ exponential workspaces set-default <workspace-slug>
484
484
  exponential workspaces members --search andi
485
485
  ```
486
486
 
487
+ ### Positions — roles & responsibilities
488
+
489
+ The roles on a workspace's settings page (`/w/<slug>/settings`). `roles` is an
490
+ alias for `positions`. A position is referenced by id or by title
491
+ (case-insensitive); holders by name, email or user id.
492
+
493
+ Writes need **your own login**: agent keys are refused. Owners and admins can
494
+ do everything. A member who holds a position may edit its remit.
495
+
496
+ ```bash
497
+ exponential positions list --workspace clear [--gaps] # --gaps: members with no stated remit
498
+ exponential positions show "Technical Director" --workspace clear
499
+
500
+ exponential positions create --workspace clear \
501
+ --title "Travel researcher" \
502
+ --remit-file remit.md \
503
+ --not-accountable-for "Booking and payment" \
504
+ --holder andi --holder james@example.com
505
+
506
+ exponential positions update "Travel researcher" --remit "Flights, hotels, visas" --clear-not-accountable-for
507
+ exponential positions update "Travel researcher" --holder andi # replaces holders
508
+ exponential positions holders add "Travel researcher" james
509
+ exponential positions holders remove "Travel researcher" andi
510
+ exponential positions delete "Travel researcher"
511
+
512
+ # Upsert many by title, all or nothing. Preview first with --dry-run.
513
+ exponential positions import roles.json --dry-run
514
+ ```
515
+
516
+ `roles.json` is `[{ "title", "remit", "notAccountableFor"?, "holders"?: ["name|email|id"] }]`.
517
+ An import never renames a position or removes a holder.
518
+
487
519
  ### Comments and @mentions
488
520
 
489
521
  Features, tickets, actions, pages, and goals all take comments: