Skip to main content

mdsf/tools/
djlint.rs

1//!
2//! THIS FILE IS GENERATED USING CODE - DO NOT EDIT MANUALLY
3//!
4
5use crate::runners::CommandType;
6
7#[inline]
8pub fn set_args(
9    mut cmd: std::process::Command,
10    file_path: &std::path::Path,
11) -> std::process::Command {
12    cmd.arg(file_path);
13    cmd.arg("--reformat");
14    cmd
15}
16
17pub const COMMANDS: [CommandType; 3] = [
18    CommandType::Direct("djlint"),
19    CommandType::Uv("djlint", "djlint"),
20    CommandType::Pipx("djlint", "djlint"),
21];
22
23pub const IS_STDIN: bool = false;