So I made an NPM package called ProjectMan.
ProjectMan is a project manager CLI which lets you add projects to favorites and open them from wherever you want using projectman open
command.
I am lazy to type p r o j e c t m a n
so there's an alias to command projectman
which is pm
so all ya sloths and pandas out there, you can even type pm <command>
The whole idea was, I hate to cd /till/the/project/path
and then open the project in my favorite editor so using ProjectMan you can add projects to favorites with pm add
and then open them from anywhere you want with pm open
npm install -g projectman
to install ProjectMan and get started🦸
ProjectMan also provides some other commands like pm seteditor
, pm remove
and pm edit
, You can read about them in ProjectMan Documentations
GitHub: https://github.com/saurabhdaware/projectman
NPM: https://npmjs.com/package/projectman
Hope you all will like it! Do star the repository if you liked it!
If there is anyone who needs help to get started with GitHub or wants to practice sending pull request I would be happy to help with this or any of my other repositories, you can reach out to me on my Twitter: https://twitter.com/saurabhcodes
Thank You for showing interest and reading this 🎉
Latest comments (42)
Great work, started using it, what a great help. Thanks
glad it is helping you, Thank you so much 🌻
I'll indulge my laziness once again. Nice!
haha thank you 🌻🌻
Nice idea. I really like it.
👍👍👍👍
Thank you so much 🌻🌻
Aw man this is gonna save me so much time writing the path to a project and searching where I left it. cheers for making this.
Thank you so much! :D
Great tool. Thank you very much.
Will you support Webstorm in a future release?
You can
pm edit
and set commandToOpen value towstorm
and it will work even with this version :)I love this flexibility :D
Thank you! there are pretty cool things coming in next version btw! keep an eye on it's github :)
How do you have such a beautiful terminal?
are you talking about the .png ? oh its carbon.now.sh
the .gif is my actual terminal which is just basic ubuntu terminal
Thanks
Your welcome! and thanks for reading 🌻
Awesome idea! I was always using shell aliases to do that kind of stuff.
Thank you so much 🌻 and yes even I love using cli to do almost everything 😂🕺
This is really cool! I'm having some trouble getting it working on a windows machine though, I'm getting some 'execution policy' security error - anyone else seeing this?
Are you getting that error in
pm add
orpm edit
command?Can you try uninstalling the package and
It's beta version but I changed few things in how I treat settings.json
Would be super helpful if you let me know if this works for you, Thanks!
Nice idea! Good job! 💪
It would be nice if, when you open a project, it
cd
to the folder too maybe with an argument or something like thatHi, In v1.2.0 I added the ability to cd to the folders. You can substitute
pm getpath
command insidecd
and it will show you list of projects and you can select and cd to it. Usually it iscd $(pm getpath)
orcd $(pm gp)
orcd $(pm gp [projectName])
(It won't really cd till the folder when youpm open
though)So from nodejs I am calling
exec('code /path/project')
to open project so similar thing will not work forcd
as it is executed in the separate shell. So apparently to achieve something that you mentioned I would have to write a shell script and somehow call it from nodejs which would be super hacky way of doing it.Also, Thank you so much for reading this!
It would indeed be really hacky and hard to be cross-platform
Ctrl+r opens up all workspaces for me on VSCode then I can fuzzy find between them.
Yup, I use ctrl + r too! I made this to initially open projects before even opening vscode. So if I want to work on
project2
and my last closed project isproject1
I won't have to open vscode and seeproject1
then ctrl + r typeproject2
and press enter.I use z with zsh-autoauggest to jump to projects...will try this today and
pm
should list projects instead of having to type open again.I just checked out zsh-autosuggest, looks cool! and thanks for showing interest in projectman :D
I love you.
haha thank youu 😭🌻🌻❤️❤️
Cool. I do something similar with eventghost, using doskey and python, I'm excited to dig into this tomorrow thanks
oh cool can you share link of your project? and thank you for showing interest 🌻🌻
Awesome stuff man :) I'll give it a test ride tomorrow :)
Thank you so much :D