DEV Community

Kazuki Okamoto
Kazuki Okamoto

Posted on

wd command

I have just released wd command!

What's wd command?

A following command runs a COMMAND with some OPTIONS on a DIRECTORY as a working directory.

$ wd DIRECTORY COMMAND OPTIONS
Enter fullscreen mode Exit fullscreen mode

pushd and popd are too long to type for me.

Install

Binaries are provided at a GitHub Release page. They are for Windows, Linux, and macOS (x64)1.

https://github.com/kakkun61/wd/releases/tag/0.1.0.0

If you want to build it, you need cabal and ghc.

$ make install
Enter fullscreen mode Exit fullscreen mode

You like it? Give a star on the GitHub repo.


  1. I'm going to add a binary for macOS (ARM) when GitHub Actions will provide a macOS (ARM) platform. 

Top comments (0)