salat
Version:
Daily Moroccan prayers time, right in your console, at the tip of your fingers
12 lines (11 loc) • 458 B
JavaScript
import { QueryProvider } from "#components/QueryProvider";
import HijriApp from "#components/HijriApp";
import { Command } from "commander";
import { render } from "ink";
import React from "react";
export const hijriCommand = new Command("hijri")
.description("Display the hijri date")
.option("-1, --once", "Run once and exit", false)
.action(() => {
render(React.createElement(QueryProvider, undefined, React.createElement(HijriApp)));
});