Skip to main content

CLI Aplication to manage calendar event and include GUI View to easy to view event.

Project description

installation step

If you do not install python yet. Please install here

pip install

pip install calendar-cli-kku

By package install

If you do not install Git yet. Please install here

git clone https://github.com/VillSource/calendar-cli.git
cd calendar-cli
pip install ./

Guide

Calendar-cli is a commandlind aplication for a simple management. You can use one of three command below to run script. If command have no argument, script will show you a crrent month carendar.

calendar
calendar-cli
ccal

Run script

All options in CLI

  • --add, -a
    • --event, -e
    • --date, -d
  • --update, -u
    • --event, -e
    • --date, -d
    • --confirm
  • --delete, -d
    • --confirm
  • --list
    • --modify, -m
    • -n
  • -ls
  • -lm
    • --confirm
  • -l

Add data

--add, -a : to add event to your calendar that require event name --event=<enter your event>, -e <enter your event> and you can add date to your event by below option. If you do not add date to your event program will add current date. --date="<yyy-mm-dd>, -d<yyy-mm-dd> : To add date to event (Current date by default)

Full option

ccal --add --event "Happy birthday" --date 2022-01-19

Shot option

ccal -a -e "Happy birthday" -d 2022-01-19

Or you can mix shot option and full option together.

Add data

Update

ccal --update <oldEvent : name or ID> --date <newDate> -e <newEventName>

Update event Birthday Party (ID=432)

# Update Birthday Party date by name event
ccal --update "Birthday Party" -d 2021-01-19

# Update Birthday Party by ID event
ccal -u 432 -e "My mom birthday Party" -d 2021-05-09

use --confirm at the end for ignore all interaction.

Delete

ccal --delete <name or ID>

Data in database ==> event Birthday Party (ID=432)

# Delete Birthday Party event by name event
ccal --delete "Birthday Party"

# Delete Birthday Party by ID event
ccal --delete 432

use --confirm at the end for ignore all interaction.

List

--list : To show all events on this month. --modify, -m : To secect one of list and modify data or delete. -n <How many month> : To print several months.

-ls : To show all event on this month. -lm : To secect one of list and modify data or delete -l<1-12> : To show all event in <0-9> month.

Standard list in curent month

ccal --list
ccal -ls

Standart list in today to 10 years ahead

ccal --list -n 10 
ccal -l10
ccal --list --modify # You can use -m instead --modify
ccal -lm

GUI option

On GUI option you can add, update, remove, and view your calendar in graphic mode.

GUI MODE

Enter GUI option by

ccal --start

or

gcal

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

calendar-cli-kku-1.0.0.tar.gz (20.6 kB view hashes)

Uploaded Source

Built Distribution

calendar_cli_kku-1.0.0-py3-none-any.whl (33.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page