17 lines
418 B
TypeScript
17 lines
418 B
TypeScript
import { Gtk } from "ags/gtk4";
|
|
import { Cli } from "..";
|
|
|
|
|
|
export default {
|
|
prefix: "dev",
|
|
help: "development tools to help debugging colorshell",
|
|
commands: [{
|
|
name: "inspector",
|
|
help: "open the gtk's visual inspector",
|
|
onCalled: () => {
|
|
Gtk.Window.set_interactive_debugging(true);
|
|
return "Opening GTK Inspector..."
|
|
}
|
|
}]
|
|
} satisfies Cli.Module;
|