Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/elldritch/formatless

An adapter for command line utilities to use different data formats.
https://github.com/elldritch/formatless

Last synced: 5 days ago
JSON representation

An adapter for command line utilities to use different data formats.

Awesome Lists containing this project

README

        

# Formatless

Formatless provides a data format agnostic adapter for command-line tools like `npm` or `bower`.

# Installation

Formatless is still under development.

# Usage
`formatless run [command] `
`formatless run [command] `
`formatless watch `
`formatless curry [command] `

`.formatlessrc`
`~/.formatlessrc_global`

# Examples
`formatless run npm install`
`formatless run "npm install -g formatless"`

`formatless run npm install --using="package.json" --source="package.cson"`
`formatless run npm -c install package.json`
`formatless run npm --command="install -g formatless" package.json`

`formatless run bower install -w bower.json:bower.cson -w .bowerrc:.bowerrc.cson`
`formatless run bower install --with="bower.json:bower.cson" --with=".bowerrc:.bowerrc.cson"`
`formatless run bower install --with="bower.json:bower.cson, .bowerrc:.bowerrc.cson"`
`formatless run bower install --with="bower.json:bower.cson; .bowerrc:.bowerrc.cson"`
`formatless run "bower install -p" bower.json:bower.cson .bowerrc:.bowerrc.cson`

# Configuration
```
{
"commands": {
"npm": "package.json",
"bower": ["bower.json", ".bowerrc"],
"gulp": [{
"Gulpfile.coffee": "Gulpfile.js"
}],
"broccoli": [{
"output": {
"name": "Brocfile",
"format": "js"
},
"source": {
"name": "Brocfilerc",
"format": "CoffeeScript"
}
}]
},
"files": {
".bowerrc": {
"format": "json"
}
}
}
```