<commit_before># gotags

## Tags

I got tired of exuberant ctags failing on Ruby code (see
https://gist.github.com/jimweirich/5440424), so I wrote a version in
go.

Features:

* Ruby only
* Emacs TAGS file only
* Minimal command line arguments
* But it's **fast**

Detects:

* Classes and Modules
* Methods
* Constants
* attr_reader, attr_writer and attr_accessor definitions
* Aliases

## Usage:

```
$ gotags [options] file [file...]
```

Analyze all files listed in the command line. If the file is a
directory, then recursively analyze all the files in that directory.
If no files are listed, then the current directory ('.') is assumed.

Only <code>.rb</code>, <code>.rake</code> and <code>Rakefile</code>
files are actually handled, all other files are silently ignored.

**Command Line Options:**

* <code>-v</code> -- Print the version of the program and exit.

## Building

Make sure you have a recent installation of the Go language on your
system.  Then do the following:<commit_msg>Add -h option to readme<commit_after># gotags

## Tags

I got tired of exuberant ctags failing on Ruby code (see
https://gist.github.com/jimweirich/5440424), so I wrote a version in
go.

Features:

* Ruby only
* Emacs TAGS file only
* Minimal command line arguments
* But it's **fast**

Detects:

* Classes and Modules
* Methods
* Constants
* attr_reader, attr_writer and attr_accessor definitions
* Aliases

## Usage:

```
$ gotags [options] file [file...]
```

Analyze all files listed in the command line. If the file is a
directory, then recursively analyze all the files in that directory.
If no files are listed, then the current directory ('.') is assumed.

Only <code>.rb</code>, <code>.rake</code> and <code>Rakefile</code>
files are actually handled, all other files are silently ignored.

**Command Line Options:**

* <code>-v</code> -- Display the version of the program and exit.
* <code>-h</code> -- Display a help message.

## Building

Make sure you have a recent installation of the Go language on your
system.  Then do the following:
{'fraction_non_alphanumeric': 0.10317848410757946, 'fraction_numerical': 0.006845965770171149, 'mean_word_length': 4.115, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 2, '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': '713207', 'n_tokens_mistral': 643, 'n_tokens_neox': 613, 'n_words': 274}