Comments (3)
I'm thinking the configuration file should be completely ambivalent to the target pretty printers. It could do this by using string replacement for the input file name and the output file name.
E.g.,
json_pp:
extensions: ["json"]
command: "cat {{inputFile}} | json_pp > {{outputFile}}"
from git-fmt.
Suggestions...
Bundled config:
...
json_pp:
extensions: ["json"]
command: "cat {{inputFile}} | json_pp > {{outputFile}}"
enabled: true
...
Project-specific:
...
json_pp:
extensions: ["json", "jsn"]
css_tidy:
enabled: false
from git-fmt.
Name suggestion: omnifmt
from git-fmt.
Related Issues (20)
- Add an example pretty-printer config folder
- Update parallelisation to use a value from somewhere rather than hardcoded
- Use `git-fmt` on this project ;)
- Remove the `System.*.Extra'` modules
- Running in non-root repo and specifying path arguments fails HOT 1
- aeson failing on nightly HOT 2
- Add escaping for {{input}} and {{output}} replacement
- Add trace log level for commands
- Change pipeline to be a tuple of `(State, FilePath, FilePath)`
- Remove library components from git-fmt
- Add git-fmt to Stackage
- Path arguments are excluded rather than used to narrow down operation files
- Restrict `--operate-on-tracked` and `--operate-on REF` from being used at the same time
- Hangs when passing in arguments and not in root directory HOT 1
- Test suite
- Output file can be created outside of the temp directory HOT 1
- Make the path outputs relative to the root directory
- `git diff --name-only` doesn't return relative file paths HOT 1
- Bash completion HOT 2
- `renameFile` does not work across filesystem boundaries HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-fmt.