<commit_before># ssedit

ssedit is a small command line utility built on top of scp that allows you to
open and save files / directories on a remote machine using your favourite
text editor (or any program you want really), with ease.

Disclaimer: This is super new, I've only really started working on it, and while
it does work, there are bugs. You've been warned.

Binary distributions are on their way.

### Install

```
$ go get -u github.com/hazbo/ssedit/ssedit
```

or

```
$ brew install hazbo/tools/ssedit
```

Providing GOPATH/bin is in your PATH, running the above is all you should need
to do.

### Usage

```
$ ssedit open <EMAIL> /home/hazbo/config.json
```

Since ssedit is built up on top of scp, the above example assumes that you have
access to the given server via ssh keys. The default text editor (that would
open with the above command) is vim. This is easily changed by use of the `-e`
flag, for example:

```
$ ssedit open -e subl <EMAIL> /home/hazbo/config.json<commit_msg>Moved info around to make sense<commit_after># ssedit

ssedit is a small command line utility built on top of scp that allows you to
open and save files / directories on a remote machine using your favourite
text editor (or any program you want really), with ease.

Disclaimer: This is super new, I've only really started working on it, and while
it does work, there are bugs. You've been warned.

Binary distributions are on their way.

### Install

```
$ go get -u github.com/hazbo/ssedit/ssedit
```

Providing GOPATH/bin is in your PATH, running the above is all you should need
to do.

or

```
$ brew install hazbo/tools/ssedit
```

### Usage

```
$ ssedit open <EMAIL> /home/hazbo/config.json
```

Since ssedit is built up on top of scp, the above example assumes that you have
access to the given server via ssh keys. The default text editor (that would
open with the above command) is vim. This is easily changed by use of the `-e`
flag, for example:

```
$ ssedit open -e subl <EMAIL> /home/hazbo/config.json
{'fraction_non_alphanumeric': 0.0814299900695134, 'fraction_numerical': 0.0, 'mean_word_length': 3.84375, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5718653', 'n_tokens_mistral': 629, 'n_tokens_neox': 594, 'n_words': 312}