list_targets(3)
π NAME π
okay so bestie, this is list_targets(3) from the Arcan Lua API β the list_targets page β and it is literally here to list all available targets by their shortname. no cap. π
β¨ SYNOPSIS β¨
targettbl
list_targets( tag )
π¦ DESCRIPTION π¦
So you're querying the database, right? list_targets gets you all targets in the current database β or, if you pass the optional tag, it gets you all targets in the database with a tag that match the optional tag. That's the whole vibe. π«Ά
πΈ EXAMPLE πΈ
Here's the example, and yes we are keeping the code exactly as it is because code is sacred:
function list_targets0()
for i,v in ipairs(list_targets()) do
print(v);
end
end
π SEE ALSO π
xoxo, your Unix bestie π β source/version: database, date: October 2026 β¨
π¦ where this page comes from
- nixos 26.05: arcan 0.7.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms