Coder Social home page Coder Social logo

calendar's Introduction

cal - proleptic gregorian month calendar with coloring

This app originally tried to match wsl ncal 10 2023 -b output and was written as an excersize from the Command-Line Rust book. It doesn't follow the book solution though, but retains much of the tests (that were fixed to allow weeks that start on Monday, colorization and a different way to render the calendar).

Installation

Separating the codebase into a standalone repository allows to install cal as a tool on any OS:

cargo install -f --git https://github.com/FallenGameR/Calendar

Usage

Month output cal:

Month output

Year output cal -y:

Year output

Help

» cal --help
Proleptic Gregorian month calendar with coloring

Usage: cal.exe [OPTIONS] [DATE]...

Options:
  -m, --month <MONTH>   Month NAME or number (1-12)
                        Ignored if DATE specifies month
  -y, --show_full_year  Show calendar for the whole year
  -C, --dont_use_color  Don't use color during output
  -h, --help            Print help
  -V, --version         Print version

DATE as [[month] year]:
  [DATE]...  Year number (99-9999) OR month and year

calendar's People

Contributors

fallengamer avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.