Module open

library for lua-open

Info:

  • Copyright: 2025

Functions

get_path (file) get file path according to lux.toml
get_cmd_args (file) use correct system tool to open PDF
main (argv) entry for lua-open


Functions

get_path (file)
get file path according to lux.toml

Parameters:

  • file string PDF file name

Returns:

    string file PDF file path
get_cmd_args (file)
use correct system tool to open PDF

Parameters:

  • file string PDF file path

Returns:

    string[] args command line arguments
main (argv)
entry for lua-open

Parameters:

  • argv string[] command line arguments
generated by LDoc 1.5.0 Last updated 2025-08-16 20:10:55