Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
signalblur authored Jan 14, 2024
1 parent fdb8182 commit 477e230
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,30 @@
# LimaGoggles
A lightweight golang app that can take a new line separated string of text and put it into the JSON Format expected by the LimaCharlie lookup gui
A lightweight golang app that can take a new line separated string of text and put it into the JSON Format expected by the LimaCharlie lookup GUI.

## Usage
To use the app, run it from the command line, providing the path to the text file and the metadata string as arguments.

```
./GoLineMetaFormatter <path-to-text-file> <metadata-string>
```
## Example
This will process sample.txt, associating each line in the file with "example-metadata" and output the result in JSON format.

```
./GoLineMetaFormatter ./sample.txt "example-metadata"
```

## Output Format

The output will be in the following JSON format:
```
{
"lineValue0": {
"metadata": "metadata-string"
},
"lineValue1": {
"metadata": "metadata-string"
},
// ...
}
```

0 comments on commit 477e230

Please sign in to comment.