nepdate-cli
is a simple command-line program built using the bikram
library to convert dates between Bikram Sambat (Nepali calendar) and Gregorian dates.
First, clone the repository:
git clone https://github.com/dotnepal/nepdate-cli
cd nepdate-cli
- Run
cargo build --release
This script will:
- Compile the program in release mode and store the output in the
target
directory. - Display the path to the executable.
- Test the program by running it.
cargo install nepdate-cli
Running the above command will globally install the nepdate-cli binary.
Get Todya Nepali date
nepdate-cli --today-nepali
OUTPUT: 2 Ashad, 2082
Get Today English date
nepdate-cli --today-english
OUTPUT: 6/16/2025 (m/d/Y)
nepdate-cli is released under the GNU General Public License v3.0. See the LICENSE file for more details.