Skip to main content

run

Function run 

Source
pub fn run(args: InspectCommand) -> Result<()>
Expand description

Runs the package inspection command.

This parses the package’s Lua definition and displays metadata such as name, version, repository, and description. It can also output the metadata in JSON format.

§Errors

Returns an error if the package definition cannot be parsed or the platform is invalid.