Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Sarrus1/tree-sitter-tests-formatter
A formatter for Tree-Sitter test files
https://github.com/Sarrus1/tree-sitter-tests-formatter
cli formatter tree-sitter
Last synced: 3 months ago
JSON representation
A formatter for Tree-Sitter test files
- Host: GitHub
- URL: https://github.com/Sarrus1/tree-sitter-tests-formatter
- Owner: Sarrus1
- License: mit
- Created: 2023-12-09T16:33:15.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-25T23:14:27.000Z (about 1 year ago)
- Last Synced: 2024-10-07T09:07:31.764Z (4 months ago)
- Topics: cli, formatter, tree-sitter
- Language: Rust
- Homepage: https://crates.io/crates/tree-sitter-tests-formatter
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Examples
## CLI
```
tsfmt --path /Users/charles/Developer/tree-sitter-sourcepawn/test/corpus
```## Code usage
```rust
use tree_sitter_tests_formatter::format_files;fn main() {
let path = PathBuf::from("tests/corpus");
format_tests_dir(&path);
}
```