Skip to content

CLI tool to generate Nepali calendar with today's details, supports both Nepali and English calendars.

License

Notifications You must be signed in to change notification settings

samit22/calendarN

Repository files navigation

CalendarN

CalendarN is calendar New :) CLI tool to get the details for the calendar

codecov goreport Security Rating Bugs Vulnerabilities Maintainability Rating

Installation

go install github.com/samit22/calendarN@latest

Commands

Nep

This command is for Nepali Calendar Available commands:

calendarN nep

To generate nepali calendar for specific year and month

calendarN nep 2079-05

Eng

This command is for English Calendar Available commands:

  • To generate english calendar
 calendarN eng

To generate english calendar for specific year and month

  calendarN eng 2022-08

Today

  • To check today's date
  calendarN today

This supports extra flags

  • --m for minified date (-m)
  • --j for date in JSON (-j)

Countdown

Shows countdowns

  • To create countdown for a date (supports english only for now)
  calendarN countdown 2022-08-18

This supports extra flags

  • --name provide the name for the calendar, generates random characters if not provided
  • --run to run the calendar for n seconds(default is 5), can be set to -1 for infinite
  • --save to save the current countdown

To save a countdown with a name

calendarN countdown -n "My Birthday" 2024-08-18 -s

To list all the countdowns

calendarN countdown all

To get a specific countdown

 calendarN countdown show -n 'My Birthday'

To delete a countdown

calendarN countdown delete -n 'My Birthday'

Convert

  • Date converter

    calendarN convert etn '2022-08-18'

    Gives the converted date for the english to nepali date

Requirement

  • Go 1.18+

Contributing

  • For new feature/bug create an issue
  • Check for the issues and assign yourself
  • Make sure added code has 80% unit test coverage

About

CLI tool to generate Nepali calendar with today's details, supports both Nepali and English calendars.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages