Skip to content
Unverified Commit 692bdaa9 authored by Mathieu Kniewallner's avatar Mathieu Kniewallner Committed by GitHub
Browse files

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.
parent 88ba18d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment