Open your terminal or command prompt and run the miti
command to access the available features.
$ miti
The MITI CLI app will display the available commands. To execute a specific command, type the command followed by any required arguments.
The today
command displays current day's miti as well as date. To use the today
command, run the following:
$ miti today
Output:
[2080-03-13 BS] Ashadh 13, 2080 Wednesday
[2023-06-28 AD] June 28, 2023 Wednesday
The to_bs
command converts an English date to the Miti (Nepali Date). Takes a argument ENGLISH DATE for conversion from English Date to Miti.
$ miti to_bs 2023-06-28
Output:
[2080-03-13 BS] Ashadh 13, 2080 Wednesday
The to_ad
command converts a Miti to the English date. Takes a argument NEPALI MITI for conversion from Miti to English Date.
$ miti to_ad 2080-03-13
Output:
[2023-06-28 AD] June 28, 2023 Wednesday