I’ve marked this as a good first patch because it’s fairly straightforward, but I’m keeping this in a separate topic from tink: Implement ancillary subcommands because, like tink: New search UI, this is going to take a bit more than the smaller commands to implement. If you’re interested in doing this, please reply below and claim it!
I’d like to have a
tink view command that works like
npm view <pkg> command. The main difference is that I’d like a similar interface implemented on top of
ink, which is the UI library I’d like to use for various interactive features in tink. The end result should be not only a standalone command, but a standalone
ink component that can be injected into other commands, since I’d like to have this displayed by the new search command.
tink view should also support a
--json version, as well as the same sort of field-filtering that regular
npm view supports. Please refer to the current
npm view code, which is admittedly a bit of a mess, as one of npm’s oldest commands.
For reference, this is what a regular
npm view looks like right now, as of