brianp / muxed

Another TMUX project manager
MIT License
59 stars 3 forks source link

Add `list` subcommand #51

Closed coreyja closed 4 years ago

coreyja commented 4 years ago

Hello again @brianp!

Been using muxed for a bit and really liking it! Occasionally I've wanted to list the projects that I had a muxed config for. I've been just doing ls ~/.muxed but thought it might be better to have some sort of first party support.

It also seems like this could be that start to more complicated bash completion, using the actual tool to generate the options!

This is just a rough draft start, it does correctly list the projects but is just a single function right now, and has no tests lol. Thought I'd open this as a draft to get it out, but definitely needs some love prior to merging.

brianp commented 4 years ago

Hey! Happy to hear you're still using Muxed!

I'm totally down for this change. It's not something I do too frequently so it hadn't crossed my mind but as a feature I think it fits well and makes a great addition. Having the auto complete is definitely something I want in the future and it's ability to provide integrated support for that is 👍 .

I'll take a closer look at this soon. I might create a new feature branch, and change the base branch over where I can complete some tests for it before merging.

Cheers mate, I really appreciate the PR!

brianp commented 4 years ago

@coreyja thanks for your patience. I merged, wrote a fairly useless test 😅 and released v0.8.2 with the changes.

As always thanks for your contributions and let me know if you've got any other ideas!