--view reads through an embed. Flag, or its own verb?
#21
xiongjy2104
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
An
embedblock has no content of its own — it stands for another block. Toread what it points at:
On any other block
--viewis the identity, so a caller never has to classifythe target first.
For a flag: it composes with everything a selector already does — sections,
--json,--part— and a separate verb would reimplement all of it. For averb:
--viewchanges what comes back (a block from another document, withprovenance on stderr), not how it is formatted, and flags that change the
subject are usually verbs.
The options
get --view.geml view <file> <selector>.viewas an alias forget --view.Which would you reach for at 2am, and would you expect
viewto accept thesame selectors as
get?(No poll widget on this one — reply with 1, 2 or 3 and, if you have one, the reason. A bare number is a useful answer.)
All reactions