Skip to content

Commit

Permalink
Add README
Browse files Browse the repository at this point in the history
  • Loading branch information
kirikiriyamama committed Dec 22, 2017
1 parent 63d40dc commit 6a3e671
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# redash-query-importer

Import queries from Definition file into [Redash](https://redash.io/)

## Installation

Download the latest binary from https://github.com/kirikiriyamama/redash-query-importer/releases

## Usage

### Synopsis

```
redash-query-importer -f FILE
```

### Options

```
Usage of redash-query-importer:
-f string
Path to definition file
```

### Definition file

```yml
api:
base: https://redash.example.com
key: xxxxx # NOT Query API Key but User API Key
queries:
- name: name
description: description # optional
data_source_id: 1
query: select 1
schedule: 3600 # (periodic execution, in seconds) or 15:00 (daily execution), optional
```

0 comments on commit 6a3e671

Please sign in to comment.