@baleen37/ars 1.0.0 → 1.1.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
@@ -58,14 +58,22 @@ the user's SSH config. Duplicates, whitespace, control characters, a leading
58
58
  dash, and targets over 255 bytes make the entire inventory invalid. `ars` does
59
59
  not infer `localhost` or discover hosts.
60
60
 
61
+ `ars remote add <host>` creates the inventory and its parent directory when
62
+ missing, preserves existing comments, entries, and order, and rejects invalid
63
+ or duplicate targets. A target beginning with `#` is rejected because inventory
64
+ loading would interpret it as a comment. The command does not edit `~/.ssh/config`.
65
+
61
66
  ## Commands
62
67
 
63
- There are exactly three command forms:
68
+ The supported command forms are:
64
69
 
65
70
  ```sh
66
- ars # search sessions from every configured host
67
- ars devbox # search one configured host
68
- ars list --json # return all hosts, sessions, and errors as JSON
71
+ ars # search sessions from every configured host
72
+ ars devbox # search one configured host
73
+ ars list --json # return all hosts, sessions, and errors as JSON
74
+ ars remote add devbox # add an SSH target to the ARS inventory
75
+ ars --help # show all command forms
76
+ ars remote --help # show remote command help
69
77
  ```
70
78
 
71
79
  Interactive rows contain a private numeric index followed by display-only
package/package.json CHANGED
@@ -23,5 +23,5 @@
23
23
  "type": "git",
24
24
  "url": "git+https://github.com/baleen37/agent-remote-sessions.git"
25
25
  },
26
- "version": "1.0.0"
26
+ "version": "1.1.0"
27
27
  }
Binary file
Binary file
Binary file