A CLI application written in Lua to check if a string contains the word "hello".
# Install tools and run the project (single command)
razd# Install tools
mise install
# Build the project
mise exec -- lx build
# Run the application
mise exec -- lx run -- "hello world"| Command | Description |
|---|---|
razd |
Full setup and run (default) |
razd install |
Install tools via mise and build the project |
razd dev |
Run the application with "hello world" example |
razd --list |
Show all available tasks |
This project uses the following tools via mise:
- task — task runner for executing tasks
- lua 5.4 — Lua interpreter
- lux — package manager for Lua (vfox-plugin-lux)
# Check if a string contains "hello"
mise exec -- lx run -- "hello world"
# [+] The string contains 'hello'!
mise exec -- lx run -- "goodbye"
# [-] The string does not contain 'hello'.
# With flags
mise exec -- lx run -- "HELLO" -v # Verbose mode
mise exec -- lx run -- "Hello" -i # Case-sensitive check.
├── Razdfile.yml # Razd configuration (tasks and mise tools)
├── lux.toml # Lux configuration (Lua dependencies)
├── mise.toml # Auto-generated from Razdfile.yml
└── src/
└── main.lua # Application source code