17 releases (8 breaking)

0.9.2 Sep 21, 2022
0.8.1 Sep 7, 2022
0.8.0 May 28, 2022
0.6.0 Mar 27, 2022
0.1.0 Jul 4, 2021

#94 in #directories

Download history 6/week @ 2024-03-31

55 downloads per month

MIT license

7KB
124 lines

wh

Manage working directories.

Description

wh is a tool to manage working directories with or without git management. It is useful to work with interactive filtering tools such as fzf and peco.

Inspired by ghq.

Installation

cargo install wh

Usage

USAGE:
    wh <SUBCOMMAND>

OPTIONS:
    -h, --help       Print help information
    -V, --version    Print version information

SUBCOMMANDS:
    create    Create working dir
    get       Clone Github repository
    help      Print this message or the help of the given subcommand(s)
    list      Print working dir list
    root      Print root dir

The wh create command creates the specified directory under the root directory and also creates a .wh directory. wh recognizes the directory containing the .git or .wh directory as a working directory.

Enviroment Variable

  • WH_ROOT
    • If this environment variable is set, wh will use it as the root path. If it is not set, it defaults to $HOME/wh.

Dependencies

~11–19MB
~336K SLoC