<commit_before># ornito-skeleton

> Generate SequelizeJS schemas via command-line

Ornito Alert: This is an experimental tool! Please do not use it for production purposes!

## Getting Started

Install the module with: `npm install git://github.com/Ornitorrinko/ornito-skeleton.git -g`

## Documentation

_(Coming soon)_

## Examples

Initializing with your db configuration

```bash
ornito-skeleton init -c ~/path/to/your/conf.json -p ~/path/to/your/project
```

Example conf.json the attribute "db" is required:

```js
	{ 
		"db" : 
					{ "host" 		: "localhost"
					, "database" 	: "myDB"
					, "user" 		: "fake_user"
					, "password" 	: "<PASSWORD>"
					, "port" 		: 3306
					, "type" 		: "mysql"
			    	}
	}
```
 
To create a model schema "customer.js"

```bash
ornito-skeleton md customer name:string document:number age:number address:string -p ~/path/to/your/project
```

To list all models

```bash
ornito-skeleton ls
```

## Contributing
For now this library is in total development only ornito members are allowed to contribute
<commit_msg>README.md<commit_after># ornito-skeleton

> Generate SequelizeJS schemas via command-line

Ornito Alert: This is an experimental tool! Please do not use it for production purposes!

## Getting Started

Install the module with: `npm install git://github.com/Ornitorrinko/ornito-skeleton.git -g`

## Documentation

_(Coming soon)_

## Examples

Initializing with your db configuration

```bash
ornito-skeleton init -c ~/path/to/your/conf.json -p ~/path/to/your/project
```

Example conf.json the attribute "db" is required:

```js
	{ 
		"db" : 
					{ "host" 		: "localhost"
					, "database" 	: "myDB"
					, "user" 		: "fake_user"
					, "password" 	: "<PASSWORD>"
					, "port" 		: 3306
					, "type" 		: "mysql"
			    	}
	}
```
 
To create a model schema "customer.js"

```bash
ornito-skeleton md customer id:integer>pk>ai name:string document:integer age:integer address:string -p ~/path/to/your/project
```
> Add ">pk" flag to create a Primary Key field
> Add ">ai" flag to create a Auto Increment field


To list all models

```bash
ornito-skeleton ls
```

## Contributing
For now this library is in total development only ornito members are allowed to contribute

{'fraction_non_alphanumeric': 0.12303547373147733, 'fraction_numerical': 0.003592276605298608, 'mean_word_length': 3.5101214574898787, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4342311', 'n_tokens_mistral': 853, 'n_tokens_neox': 743, 'n_words': 235}