Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/elldritch/formatless
- Owner: elldritch
- Created: 2014-08-27T22:24:29.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-28T00:31:07.000Z (about 10 years ago)
- Last Synced: 2024-04-13T16:19:14.207Z (7 months ago)
- Language: CoffeeScript
- Size: 102 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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"
}
}
}
```