Refactor `show` command a bit (#5738)
Refactor `show` command a tiny bit to separate the different cases into dedicated functions, since right now `handle` method is 300 lines long. This also has the advantage of making some imports necessary only on a specific variant of the command. The package named is also canonicalized only once, for a minor performance improvement/to avoid extra work.
Showing
Please
register
or
sign in
to comment