# Example, just for fun

def "nur hello" [
    name: string = "world",
] {
    print $"hello ($name)"
}

# Actual useful tasks - doing the same as the justfile does

def "nur cargo" [...args: string] {
    cargo ...$args
}

def "nur build" [...args: string] {
    cargo "build" ...$args
}

def "nur run" [...args: string] {
    cargo "run" ...$args
}

def "nur release" [] {
    cargo build --release
}
