lux_cli/debug.rs
1use crate::{
2 project::DebugProject,
3 unpack::{Unpack, UnpackRemote},
4};
5use clap::Subcommand;
6
7#[derive(Subcommand)]
8pub enum Debug {
9 /// Unpack the contents of a rock.
10 Unpack(Unpack),
11 /// Fetch a remote rock from its RockSpec source.
12 FetchRemote(UnpackRemote),
13 /// Download a .src.rock from luarocks.org and unpack it.
14 UnpackRemote(UnpackRemote),
15 /// View information about the current project.
16 Project(DebugProject),
17}