Everyone likes CLI's (or maybe it's just me).
I have compiled a list of the CLI's I use on a daily basis, some are well known some are less so, but all of them help me get things done faster and some even help me keep my code cleaner.
This list is ordered from most used to least used on a daily basis.
1. z - Go from A to Z with ease
This one will make you look like a ninja and help you boost your productivity!
In a gist z
helps you navigate your file system faster.
Basically, it ranks all the directories you visit, and given a query, it will take you to the directory that will most likely match your query.
2. Scaffolder - Generate boilerplate code with ease
Hate copy-pasting files?
You want to make sure all of your modules follow the same structure?
You want to generate boilerplate code i.e react components or a complete project set up in an intuitive and easy way?
Scaffolder got your back, you can define templates with dynamic parameters and generate them easily with a CLI or a vscode extension.
In essence, it will save you tons of time
There are tons of other features as well, like sharing templates via GitHub or defining your own functions to be run inside your templates.
P.S, I wrote it, so I'm kind of biased. Feel free to leave a star or a feature request π
3. tldr-pages - Just show me how to use this
From the project repo:
"The tldr-pages project is a collection of community-maintained help pages for command-line tools, that aims to be a simpler, more approachable complement to traditional man pages."
Essentially you'll get a bunch of useful examples for the command you specified π
4. np - Publish npm packages like a pro
Hate going through the same routine each time you publish your npm package? np will help you automate this process while adding many other goodies like GitHub release tags and multiple versions of increment strategies.
It's described well in the project repo "A better npm publish
".
5. lerna - One repo to rule them all
Did you ever develop multiple packages that depend on one another? if so, then you know the pain of npm links, building, testing, and publishing all of the relevant packages.
If you didn't get the pleasure of managing this stuff manually, then let me save you the trouble and introduce you to lerna
your new best friend π
You might also want to check yarn workspaces
Go ahead and give these CLI's a try and tell me what you think in the comment section
Check out my other blog posts on dev.to
What is Scaffolder, and how you can use it to increase your team dev velocity
Gal Elmalah γ» Jun 11 '20 γ» 5 min read
9 Great Tips To Use Javascript Array Methods Like a Pro!
Gal Elmalah γ» Oct 7 '20 γ» 6 min read
Got any CLI tools that help you increase your dev velocity and quality? Leave a comment and share them with the rest of usπ
Top comments (7)
Nice!
I tend to use:
Haven't tried, but surely will:
asdf and Lazydocker look great! thanks for sharing!
z looks great but I understand that it only word with ZSH. Are there alternatives for other shells?
The linked repo isn't to Z, it's to ZSH-z, and the readme has this to say:
I haven't looked further, but that's you set for bash, and I'd infer there are probably agnostic versions out there somewhere.
you are absolutely correct!
there are installation instruction in here for the bash version
You got github.com/wting/autojump which is pretty awesome as well
autojump works like a charm, thanks a lot :)