mirror of
https://git.bits.team/Bits/mod-manager.git
synced 2025-07-11 21:49:43 -04:00
Added mod tracking file generation
This commit is contained in:
@ -2,15 +2,12 @@ import { Command } from "commander";
|
||||
import Initialiser from "../util/initialiser.js";
|
||||
import Subcommand from "./subcommand.js";
|
||||
|
||||
export default class InitCommand extends Subcommand {
|
||||
export default class InitCommand implements Subcommand {
|
||||
registerCommand(program: Command) {
|
||||
program.command("init")
|
||||
.description("Initialises mod manager")
|
||||
.action(this.execute);
|
||||
.action(() => {
|
||||
Initialiser.initialise();
|
||||
});
|
||||
}
|
||||
|
||||
execute() {
|
||||
Initialiser.initialise();
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user