This commit is contained in:
@@ -11,6 +11,8 @@ sirmem new my-proj project "My Project"
|
||||
sirmem alias my-proj owner/repo
|
||||
sirmem link my-proj uses sirlaptop "dev box"
|
||||
sirmem rel my-proj
|
||||
sirmem unalias my-proj owner/repo # remove an alias
|
||||
sirmem rm sirlaptop --cascade # delete an entity (and its relations)
|
||||
sirmem prefs
|
||||
sirmem lint
|
||||
```
|
||||
@@ -19,6 +21,8 @@ Data dir: `schema.md` (types and verbs), `relations.tsv` (sorted, one direction)
|
||||
`entities/<id>.md` (front-matter + body). Run `sirmem --help` for all commands.
|
||||
|
||||
Build: `devbox run build`, test: `devbox run test`. See AGENTS.md.
|
||||
`rm <id>` refuses while the entity has relations (listed); `--cascade` removes them too and prints each one.
|
||||
A merge tombstone is never removed while relations or other redirects still point to it.
|
||||
Extra over the spec: `init` command; env `SIRMEM_MACHINE` overrides the detected hostname.
|
||||
|
||||
MIT licensed.
|
||||
|
||||
Reference in New Issue
Block a user