salat
Version:
Daily Moroccan prayers time, right in your console, at the tip of your fingers
19 lines (18 loc) • 606 B
JavaScript
// Project's setup
import { citiesCommand } from "#commands/cities";
import { guideCommand } from "#commands/guide";
import { hijriCommand } from "#commands/hijri";
import { timesCommand } from "#commands/times";
import { Command } from "commander";
import pkg from "../package.json" with { type: "json" };
const program = new Command();
program
.name(pkg.name)
.description(pkg.description)
.version(pkg.version)
.addCommand(timesCommand, { isDefault: true })
.addCommand(hijriCommand)
.addCommand(guideCommand)
.addCommand(citiesCommand);
program.parse();