# ubahn

> A command line application that helps you moving around your computer

Latest version **1.0.0** (published 2016-12-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install ubahn
pnpm add ubahn
yarn add ubahn
bun add ubahn
```

Provides the command `ubahn-wrapper`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-12-26 |
| First published | 2016-12-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Lucas Alves |
| Maintainers | lucaskalves |
| Keywords | cd, command, shell, move, util |

## Links

- npm: https://www.npmjs.com/package/ubahn
- Repository: https://github.com/lucaskalves/ubahn
- Homepage: https://github.com/lucaskalves/ubahn#readme
- Issues: https://github.com/lucaskalves/ubahn/issues
- npm.io page: https://npm.io/package/ubahn

## Dependencies (3)

- [shelljs](https://npm.io/package/shelljs.md) ^0.7.5
- [jsonfile](https://npm.io/package/jsonfile.md) ^2.4.0
- [command-line-commands](https://npm.io/package/command-line-commands.md) ^1.0.4

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2016-12-26

## README

# ubahn

It is a (node.js) command line utility that helps you going everywhere in your computer using a terminal. It is based on [teleport](https://hackage.haskell.org/package/teleport), a Haskell package that accomplishes the same task.

## Installation

First, you need to install the Node.js plugins:

``` shell
npm install --global ubahn
```

Then, to make the command executable, you need to add this to your `.bashrc` or `.bash_profile` or whatever you use:

``` shell
function ubahn() {
  OUTPUT=`ubahn-wrapper $@`
  if [ $? -eq 42 ]
  then cd "$OUTPUT"
  else echo "$OUTPUT"
  fi
}
```

## API

### List Directories

To list all directories that were saved to *ubahn*, run this command:

```sh
ubahn list
```



### To Directory

To change the current directory to one saved in *ubahn*, run this command:

``` shell
ubahn to <shortname>
```


### Add Directory

To add a new directory, run this command:

``` shell
ubahn add <shortname> [directory path]
```

The *short name* cannot contain spaces. The directory path may be omitted. That will make the current directory to be added to *ubahn*.


## Remove Directory

To remove a directory, run this command:

``` shell
ubahn rm <shortname>
```

## Remove all Directories

To remove all saved directories, run this command:

``` shell
ubahn clear
```

---
_Source: https://npm.io/package/ubahn · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
