hopper-cli

0.1.1 • Public • Published

hop -- shrink contribution overhead across languages, frameworks and teams

More information in the online docs.

Synopsis

hop [-hV] <command>

Description

Hopper is a modular, opinionated, convention-focused tool for your development process.

Hopper streamlines switching between and contributing to a projects regardless of language, team, testing library, architecture, deployment strategy, etc.

If it's a hopper-friendly project you can "hop" right in and get to work.

Options

-V Prints version information for hopper and exits

-h Prints the synopsis and a list of commonly used commands

Hop Commands

  • hop-projects - List all projects in workspaces.
  • hop-workspaces add - Adds a directory as a workspace.

hop-projects -- list all projects in your workspaces

Synopsis

hop projects

Description

Lists all projects in your workspaces. Useful when combined with selecta to fuzzy-find a project quickly.

Example:

$ pwd
/Users/zee
$ cd $(hop projects | selecta)
> znmaho
/Users/zee/Projects/zincmade/hopper
$ pwd
/Users/zee/Projects/zincmade/hopper

hop-workspaces-add -- Adds a directory to your workspaces

Synopsis

hop [--depth=1] workspaces add

Description

Adds a directory to the list of workspaces hopper is aware of. You may provide a "depth" which tells hopper to treat sub-directories as workspaces as well.

Example:

  $ hop workspaces add --depth 2 /home/zee/Clients
  # Adds the /home/zee/Clients directory as a workspace that contains other
  # workspaces
  $ hop projects
  /home/zee/Clients/Foo
  /home/zee/Clients/Foo/project-a
  /home/zee/Clients/Foo/project-b
  /home/zee/Clients/Bar
  /home/zee/Clients/Bar/project-a

Options

--depth=1 How deep to go when treating the directory as a workspace. Useful when organizing projects into sub-folders.

Package Sidebar

Install

npm i hopper-cli

Weekly Downloads

25

Version

0.1.1

License

MIT

Last publish

Collaborators

  • zspencer