Nomad Var DirSync is a command-line tool designed to synchronize directories with Nomad variables. It allows you to write the contents of a directory to Nomad variables and read Nomad variables back into a directory.
## Installation
To install Nomad Var DirSync, you need to have Go installed on your machine. You can download and install Go from [the official website](https://golang.org/dl/).
Once you have Go installed, you can install Nomad Var DirSync by running the following command:
```sh
go install git.iamthefij.com/iamthefij/nomad-var-dirsync@latest
```
## Usage
Nomad Var DirSync provides two main actions: `write` and `read`.
### Write Directory to Nomad Variables
To write the contents of a directory to Nomad variables, use the `write` action: