-
-
Notifications
You must be signed in to change notification settings - Fork 27
List view organization #360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Sure, let me explain. Here is an example of production use, with a few container modules installed:
Now, suppose I want to interact with one of these modules using the Now, I am a lazy person and want to copy-paste the identifier of an installed module from the list above.
Then, for this lazy copy-paste habit, I would find this output handier:
One disadvantage is that the list gets longer because you have one entry per version, rather than per tool. Looking at the other open issues, one way to work around this would be enabling the autocompletion feature, so that one can tab-complete installed module identifiers (#363 ). |
okay, here is an easier to read, and easier to copy paste solution! The default now shows all the containers and tags, one per line: $ shpc list
biocontainers/samtools:v1.9-4-deb_cv1
python:3.9.5-alpine
python:3.9.2-slim
python:3.9.2-alpine
dinosaur:fork
vanessa/salad:latest
salad:latest
ghcr.io/autamus/prodigal:latest
ghcr.io/autamus/samtools:latest
ghcr.io/autamus/clingo:5.5.0 I added the left padding so the ":" would line up in the middle to make it easier to compare. If the user adds $ shpc list --short
biocontainers/samtools: v1.9-4-deb_cv1
python: 3.9.2-slim, 3.9.5-alpine, 3.9.2-alpine
dinosaur: fork
vanessa/salad: latest
salad: latest
ghcr.io/autamus/prodigal: latest
ghcr.io/autamus/samtools: latest
ghcr.io/autamus/clingo: 5.5.0 That's probably the best of both worlds. This is also added to #367. And just in case it's not known, LMOD at least does support tab completion once you start typing the name! |
Looks great! thanks for thinking of the |
Feedback:
Yes this is a great idea! Could you provide an example here to get me started?
The text was updated successfully, but these errors were encountered: