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.tomlParameters:
- 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