list_targets(3)

πŸ“¦
version 0.7.1 Β· 2 versions
, in nixos 26.05

πŸ’– 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