Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cli): add support for runic #715

Merged
merged 2 commits into from
Feb 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ mdsf init

<!-- START_SECTION:supported-tools -->

`mdsf` currently supports 249 tools. Feel free to open an issue/pull-request if your favorite tool/command is missing! 😃
`mdsf` currently supports 250 tools. Feel free to open an issue/pull-request if your favorite tool/command is missing! 😃

| Name | Description | Categories | Languages |
| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | ------------------------------------------------------------------------- |
Expand Down Expand Up @@ -531,6 +531,7 @@ mdsf init
| [ruff](https://docs.astral.sh/ruff) | An extremely fast Python linter and code formatter, written in Rust | `formatter`, `linter` | `python` |
| [rufo](https://github.com/ruby-formatter/rufo) | The Ruby Formatter | `formatter` | `ruby` |
| [rune](https://github.com/rune-rs/rune) | Tools for the Rune programming language | `formatter` | `rune` |
| [runic](https://github.com/fredrikekre/Runic.jl) | Julia code formatter | `formatter` | `julia` |
| [rustfmt](https://github.com/rust-lang/rustfmt) | The official code formatter for Rust | `formatter` | `rust` |
| [rustywind](https://github.com/avencera/rustywind) | CLI for organizing Tailwind CSS classes | `formatter` | `html` |
| [salt-lint](https://github.com/warpnet/salt-lint) | A command-line utility that checks for best practices in SaltStack | `linter` | `salt` |
Expand Down Expand Up @@ -600,7 +601,7 @@ mdsf init

<!-- START_SECTION:supported-commands -->

`mdsf` currently supports 265 commands. Feel free to open an issue/pull-request if your favorite tool/command is missing! 😃
`mdsf` currently supports 266 commands. Feel free to open an issue/pull-request if your favorite tool/command is missing! 😃

| Name | Command |
| ------------------------ | --------------------------------------------------------------------------------------- |
Expand Down Expand Up @@ -804,6 +805,7 @@ mdsf init
| `ruff:format` | `ruff format --quiet $PATH` |
| `rufo` | `rufo --simple-exit $PATH` |
| `rune:fmt` | `rune fmt $PATH` |
| `runic` | `runic --inplace $PATH` |
| `rustfmt` | `rustfmt --edition 2021 --quiet $PATH` |
| `rustywind` | `rustywind --write $PATH` |
| `salt-lint` | `salt-lint $PATH` |
Expand Down
5 changes: 5 additions & 0 deletions schemas/v0.5.2-dev/mdsf.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1066,6 +1066,11 @@
"type": "string",
"enum": ["rune:fmt"]
},
{
"description": "Julia code formatter\n\n[https://github.com/fredrikekre/Runic.jl](https://github.com/fredrikekre/Runic.jl)\n\n`runic --inplace $PATH`",
"type": "string",
"enum": ["runic"]
},
{
"description": "The official code formatter for Rust\n\n[https://github.com/rust-lang/rustfmt](https://github.com/rust-lang/rustfmt)\n\n`rustfmt --edition 2021 --quiet $PATH`",
"type": "string",
Expand Down
16 changes: 16 additions & 0 deletions tools/runic/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "../tool.schema.json",
"binary": "runic",
"categories": ["formatter"],
"commands": {
"": {
"arguments": ["--inplace", "$PATH"]
}
},
"description": "Julia code formatter",
"homepage": "https://github.com/fredrikekre/Runic.jl",
"languages": ["julia"],
"packages": {
"julia": "Runic"
}
}