@autohq/cli 0.1.183 → 0.1.185

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
@@ -44,26 +44,23 @@ auto tui # interactive dashboard
44
44
 
45
45
  Session `auto --help` for the full command tree.
46
46
 
47
- ## Accounts and profiles
47
+ ## Accounts
48
48
 
49
- Each signed-in account is stored as a named profile; the active one is a
50
- pointer in `~/.auto/config.yaml`. Logging in to a second account never
51
- discards the first.
49
+ Each signed-in account is stored under `~/.auto/accounts/`, keyed by email
50
+ and server; the active one is the `activeAccount` pointer in
51
+ `~/.auto/config.yaml`. Logging in to a second account never discards the
52
+ first.
52
53
 
53
54
  ```sh
54
- auto account create staging # sign in and store under a profile name
55
- auto account list # list stored accounts
56
- auto account switch staging # make a profile (or email) active
57
- auto account remove staging # delete a stored profile
58
- auto --profile staging sessions list # use a profile for one invocation
55
+ auto auth login # sign in (device flow) and store the account
56
+ auto auth list # list stored accounts
57
+ auto auth switch # pick the active account interactively
58
+ auto auth switch --user you@example.com # switch without the prompt
59
+ auto auth remove you@example.com # delete a stored account
59
60
  ```
60
61
 
61
- The `auth` group offers the same operations with auth-centric spellings
62
- (`auth login --profile`, `auth list`, `auth switch`, `auth remove`).
63
-
64
- `AUTO_PROFILE=<name>` pins a whole shell session to a profile without
65
- moving the active pointer, so different terminals can act as different
66
- accounts at the same time.
62
+ When the same email is signed in on more than one server, add
63
+ `--server <url>` to `auth switch` / `auth remove` to disambiguate.
67
64
 
68
65
  ## License
69
66
 
@@ -26571,7 +26571,7 @@ Object.assign(lookup, {
26571
26571
  // package.json
26572
26572
  var package_default = {
26573
26573
  name: "@autohq/cli",
26574
- version: "0.1.183",
26574
+ version: "0.1.185",
26575
26575
  license: "SEE LICENSE IN README.md",
26576
26576
  publishConfig: {
26577
26577
  access: "public"