Metadata-Version: 2.1
Name: diet
Version: 0.1.7
Summary: Dash Import Export Tool
Home-page: https://bitbucket.org/sporga/diet
Author: Alexander Burgett
Author-email: alex.burgett@sprga.com.au
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: dash-api-python-client
Requires-Dist: dash-auth-python-client
Requires-Dist: requests-oauthlib

# DIET

Dash Import Export Tool

## Installation

```sh
pip install --user -U diet
```

## Usage

```
Dash Import and Export Tool

positional arguments:
  {import,export}  Action to perform
  target           The target of the import/export
  file             Files to import
```

**Import users into the system**
```sh
diet import user ./user-records.csv
```

## Import file structure

### Supported file types
* CSV

#### CSV Structure
The CSV file must include a header row that matches the field's name you wish to import **exactly**

### User Import
| firstName | surname       | email                                                          | gender | address           | suburb    | state | mobilePhoneNumber | password  | postcode |
|-----------|---------------|----------------------------------------------------------------|--------|-------------------|-----------|-------|-------------------|-----------|----------|
| Test      | Administrator | csss@sporga.com.au                                             | Female | 20 resolution Dr  | Caringbah | NSW   | 61410100100       | ******* | 2229     |

