npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@rajubepary/gwt

v0.1.0

Published

A Git worktree and PR management CLI tool for streamlined development workflows

Readme

gwt

A Git worktree and PR management CLI tool for streamlined development workflows

oclif Version Downloads/week

Usage

$ npm install -g @rajubepary/gwt
$ gwt COMMAND
running command...
$ gwt (--version)
@rajubepary/gwt/0.1.0 linux-x64 node-v22.23.2
$ gwt --help [COMMAND]
USAGE
  $ gwt COMMAND
...

Commands

gwt ai open [BRANCHNAME]

Run the AI command in a git worktree

USAGE
  $ gwt ai open [BRANCHNAME]

ARGUMENTS
  [BRANCHNAME]  Name of the branch/worktree to run AI in

DESCRIPTION
  Run the AI command in a git worktree

See code: src/commands/ai/open.ts

gwt ai review

Run an AI code review against a target branch

USAGE
  $ gwt ai review [-t <value>]

FLAGS
  -t, --target=<value>  Target branch to review against

DESCRIPTION
  Run an AI code review against a target branch

See code: src/commands/ai/review.ts

gwt archive [BRANCHNAME]

Archive a git worktree

USAGE
  $ gwt archive [BRANCHNAME]

ARGUMENTS
  [BRANCHNAME]  Name of the branch/worktree to archive

DESCRIPTION
  Archive a git worktree

See code: src/commands/archive.ts

gwt cd [BRANCHNAME]

Change terminal to a git worktree directory

USAGE
  $ gwt cd [BRANCHNAME]

ARGUMENTS
  [BRANCHNAME]  Name of the branch/worktree to change into

DESCRIPTION
  Change terminal to a git worktree directory

See code: src/commands/cd.ts

gwt help [COMMAND]

Display help for gwt.

USAGE
  $ gwt help [COMMAND...] [-n]

ARGUMENTS
  [COMMAND...]  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for gwt.

See code: @oclif/plugin-help

gwt init

Initialize gwt in the current repository

USAGE
  $ gwt init [-f]

FLAGS
  -f, --force  Overwrite existing config file if it exists

DESCRIPTION
  Initialize gwt in the current repository

See code: src/commands/init.ts

gwt ls

List all git worktrees

USAGE
  $ gwt ls [-a]

FLAGS
  -a, --archive  Include archived worktrees

DESCRIPTION
  List all git worktrees

See code: src/commands/ls.ts

gwt new [BRANCHNAME]

Create a new git worktree

USAGE
  $ gwt new [BRANCHNAME]

ARGUMENTS
  [BRANCHNAME]  Name of the new branch

DESCRIPTION
  Create a new git worktree

See code: src/commands/new.ts

gwt open [BRANCHNAME]

Open a git worktree directory in the default editor

USAGE
  $ gwt open [BRANCHNAME]

ARGUMENTS
  [BRANCHNAME]  Name of the branch/worktree to open

DESCRIPTION
  Open a git worktree directory in the default editor

See code: src/commands/open.ts

gwt pr create [BRANCHNAME]

Create a pull request for a worktree branch

USAGE
  $ gwt pr create [BRANCHNAME]

ARGUMENTS
  [BRANCHNAME]  Name of the branch/worktree to create a PR for

DESCRIPTION
  Create a pull request for a worktree branch

See code: src/commands/pr/create.ts

gwt pr merge [BRANCHNAME]

Merge a pull request for a worktree branch, fetch main, and archive the worktree

USAGE
  $ gwt pr merge [BRANCHNAME]

ARGUMENTS
  [BRANCHNAME]  Name of the branch/worktree to merge PR for

DESCRIPTION
  Merge a pull request for a worktree branch, fetch main, and archive the worktree

See code: src/commands/pr/merge.ts

gwt pr view [BRANCHNAME]

Review a pull request for a worktree branch

USAGE
  $ gwt pr view [BRANCHNAME]

ARGUMENTS
  [BRANCHNAME]  Name of the branch/worktree to view PR for

DESCRIPTION
  Review a pull request for a worktree branch

See code: src/commands/pr/view.ts

gwt rm [BRANCHNAME]

Remove a git worktree and its branch

USAGE
  $ gwt rm [BRANCHNAME] [-a] [-f] [-r]

ARGUMENTS
  [BRANCHNAME]  Name of the branch/worktree to remove

FLAGS
  -a, --archive      Remove an archived worktree
  -f, --force        Force removal without prompting
  -r, --[no-]remote  Delete the remote branch as well

DESCRIPTION
  Remove a git worktree and its branch

See code: src/commands/rm.ts

gwt unarchive [BRANCHNAME]

Unarchive a git worktree and run setup scripts

USAGE
  $ gwt unarchive [BRANCHNAME]

ARGUMENTS
  [BRANCHNAME]  Name of the branch/worktree to unarchive

DESCRIPTION
  Unarchive a git worktree and run setup scripts

See code: src/commands/unarchive.ts

gwt archive [BRANCHNAME]

Archive a git worktree

USAGE
  $ gwt archive [BRANCHNAME]

ARGUMENTS
  [BRANCHNAME]  Name of the branch/worktree to archive

DESCRIPTION
  Archive a git worktree

See code: src/commands/archive.ts

gwt cd [BRANCHNAME]

Change terminal to a git worktree directory

USAGE
  $ gwt cd [BRANCHNAME]

ARGUMENTS
  [BRANCHNAME]  Name of the branch/worktree to change into

DESCRIPTION
  Change terminal to a git worktree directory

See code: src/commands/cd.ts

gwt help [COMMAND]

Display help for gwt.

USAGE
  $ gwt help [COMMAND...] [-n]

ARGUMENTS
  [COMMAND...]  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for gwt.

See code: @oclif/plugin-help

gwt init

Initialize gwt in the current repository

USAGE
  $ gwt init [-f]

FLAGS
  -f, --force  Overwrite existing config file if it exists

DESCRIPTION
  Initialize gwt in the current repository

See code: src/commands/init.ts

gwt ls

List all git worktrees

USAGE
  $ gwt ls [-a]

FLAGS
  -a, --archive  Include archived worktrees

DESCRIPTION
  List all git worktrees

See code: src/commands/ls.ts

gwt new [BRANCHNAME]

Create a new git worktree

USAGE
  $ gwt new [BRANCHNAME]

ARGUMENTS
  [BRANCHNAME]  Name of the new branch

DESCRIPTION
  Create a new git worktree

See code: src/commands/new.ts

gwt pr create [BRANCHNAME]

Create a pull request for a worktree branch

USAGE
  $ gwt pr create [BRANCHNAME]

ARGUMENTS
  [BRANCHNAME]  Name of the branch/worktree to create a PR for

DESCRIPTION
  Create a pull request for a worktree branch

See code: src/commands/pr/create.ts

gwt pr merge [BRANCHNAME]

Merge a pull request for a worktree branch, fetch main, and archive the worktree

USAGE
  $ gwt pr merge [BRANCHNAME]

ARGUMENTS
  [BRANCHNAME]  Name of the branch/worktree to merge PR for

DESCRIPTION
  Merge a pull request for a worktree branch, fetch main, and archive the worktree

See code: src/commands/pr/merge.ts

gwt pr view [BRANCHNAME]

Review a pull request for a worktree branch

USAGE
  $ gwt pr view [BRANCHNAME]

ARGUMENTS
  [BRANCHNAME]  Name of the branch/worktree to view PR for

DESCRIPTION
  Review a pull request for a worktree branch

See code: src/commands/pr/view.ts

gwt rm [BRANCHNAME]

Remove a git worktree and its branch

USAGE
  $ gwt rm [BRANCHNAME] [-a] [-f] [-r]

ARGUMENTS
  [BRANCHNAME]  Name of the branch/worktree to remove

FLAGS
  -a, --archive      Remove an archived worktree
  -f, --force        Force removal without prompting
  -r, --[no-]remote  Delete the remote branch as well

DESCRIPTION
  Remove a git worktree and its branch

See code: src/commands/rm.ts

gwt unarchive [BRANCHNAME]

Unarchive a git worktree and run setup scripts

USAGE
  $ gwt unarchive [BRANCHNAME]

ARGUMENTS
  [BRANCHNAME]  Name of the branch/worktree to unarchive

DESCRIPTION
  Unarchive a git worktree and run setup scripts

See code: src/commands/unarchive.ts


Made with ❤️ by Raju Bepary