https://github.com/doodzik/hexe-cli
made to make the interaction with hexe generators easier
https://github.com/doodzik/hexe-cli
Last synced: about 1 year ago
JSON representation
made to make the interaction with hexe generators easier
- Host: GitHub
- URL: https://github.com/doodzik/hexe-cli
- Owner: doodzik
- License: mit
- Created: 2014-09-06T14:15:53.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-09-21T12:08:57.000Z (almost 12 years ago)
- Last Synced: 2025-02-03T14:32:00.315Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 180 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### a cli-programm made to make the interaction with hexe generators easier
***
# WHO IS HEXE
###### Her Wiccan Rede was [Hexagonal architecture](http://alistair.cockburn.us/Hexagonal+architecture)
###### She conjures hexagonal.
###### She learns new spells fast,
###### And new tongues even faster.
###### Her spells interact nicely with each other,
###### And she can modify them after she invoke them
***
# INSTALATION
```bash
$ npm install -g git+https://git@github.com/walpurgisnacht/hexe-cli.git
$ cd hexe
$ npm link
```
if you need to install some additional generators the programm will notify you
***
# USAGE
###init new service
```bash
$ hexe n/new language service_name
```
###add contract to Service
```bash
$ hexe a/add contract_name [-as new_contract_name] [-v/--version 0.0.0 ]
```
###remove contract from Service
```bash
$ hexe r/remove contract_name
```
###add adapter to Service
```bash
$ hexe a/add contract_name [adapter_name(default: service_name)]
```
###general options
* ```--trace```: provide full stack trace
***
## FOR HEXE DEVS
### .hexe file:
```javascript
{'service': name,
'lang': language,
'contracts': {
contract_name: {
'version': '0.0.0',
'as': contract_name
}
}
}
```
### generate new language generator
```bash
$ hexe g/generate language
```
### generate new contract/adapter generator
```bash
$ hexe g/generate language contact_name
```
***
#### TODO implement
* -as option
* -v option
* 100% test coverage
* dont be dependent on manually adding external dependencies when calling add
***
##LICENSE
MIT