Sha256: 18869451745540d4b37a5c70109ede280fcb37fa81f222dd52a495031838caae

Contents?: true

Size: 1.72 KB

Versions: 2

Compression:

Stored size: 1.72 KB

Contents

# jetel

## CLI - Command Line Interface

Run `jetel`

```
$ jetel
NAME
    jetel - Jetel CLI 0.0.5

SYNOPSIS
    jetel [global options] command [command options] [arguments...]

GLOBAL OPTIONS
    --help - Show this message

COMMANDS
    config     - Show config
    help       - Shows a list of commands or help for one command
    ip, Ip     - Module ip
    modules    - Print modules info
    nga, Nga   - Module nga
    sfpd, Sfpd - Module sfpd
    version    - Print version info
```

## Structure

```
.
├── bin
├── lib
│   └── jetel
│       ├── cli
│       │   └── cmd
│       ├── config
│       ├── downloader
│       │   └── backends
│       ├── etl
│       ├── extensions
│       ├── helpers
│       ├── jetel
│       └── modules
│           ├── ip
│           ├── nga
│           └── sfpd
├── pkg
└── test
```

## Examples

**Plays nicely with [csv2psql](https://github.com/korczis/csv2psql)**

```
$ csv2psql convert -t --drop-table --create-table -t afrinic tmp/Ip/afrinic/transformed/delegated-afrinic-latest | psql -h 127.0.0.1 -U jetel

$ csv2psql convert -t --drop-table --create-table -t apnic tmp/Ip/apnic/transformed/delegated-apnic-latest | psql -h 127.0.0.1 -U jetel
```

### Rake

```
tomaskorcak@kx-mac:~/dev/jetel$ bundle exec rake -T
rake build          # Build jetel-0.0.1.gem into the pkg directory
rake install        # Build and install jetel-0.0.1.gem into system gems
rake install:local  # Build and install jetel-0.0.1.gem into system gems without network access
rake release        # Create tag v0.0.1 and build and push jetel-0.0.1.gem to Rubygems
```

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jetel-0.0.8 README.md
jetel-0.0.7 README.md