lra

Added in lrc v1.1.0

The lra program allows to interact with embedded archives inside lrc-compiled binaries.

Basic Command-Line Example

# extracts the files bundled inside the program `main` (or `main.exe` on Windows)
$ lra -x -O output main.exe
$ ls output/
dyntb.lua  main.lua  res  start.lua

Arguments

  • archive – archive to open

  • files (default: **) – files to be extracted or packed

Extract Options

Option

Description

-x
--extract

Extract exact or globbed files to destination dir

-O <dest>
--dest <dest>

(default: ./)

destination folder for extracted files

Create Options

Option

Description

-c
--create

Create archive from exact or globbed files to destination dir

Info Options

Option

Description

-l
--list

List files in archive

-i
--info

Show info about archive

Other options

Option

Description

-h
--help

Show this help message and exit.

--log-level <log-level>

(default: info)

ascending: none (0), error, warn, info, debug