DioxusLabs / DioxusLabs/dioxus

[Feature(CLI)] Allow Users to Execute Commands Pre/Post Builds

Open
#3,208 0 comments 2 reactions 0 assignees View on GitHub
cli enhancement
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

Hiya 🙋‍♂️,

I really like the Dioxus CLI. it’s quite a handy dandy tool, ngl! However, I’ve noticed it lacks a feature to execute commands pre/post builds. Tools like [Trunk support pre, post and build hooks](https://trunkrs.dev/guide/build/hooks.html), which is super helpful for combining commands.

For example, integrating tailwind cli or the rusty version of it, [railwind](https://github.com/next-rs/next-rs/blob/main/examples/links/Trunk.toml) [(a Rust CLI for compiling Tailwind classes)](https://github.com/pintariching/railwind) into the build process would be helpful. Here's an example use case where running [railwind after the build](https://github.com/next-rs/next-rs/blob/57d7336afc81b2a7bd1db734d9b9285b051a677c/examples/links/Trunk.toml#L4) is useful instead of running a separate watch command.

Adding this feature would enhance the thing and make the CLI even more powerful.

Best

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.