Skip to main content

## How to Use

  1. Clone the repository to your local machine.

  2. Navigate to the directory containing the CLI bot.

  3. Installl venv python3 -m venv venv.

  4. Activate venv source venv/bin/activate (source ./venv/scripts/activate for Windows).

  5. Install requirements pip install -r requirements.txt

  6. Run the CLI bot script py main.py.

  7. Enter commands as per the provided documentation.

## Commands and Functionalities

  • Close: Exits the CLI bot, saving any changes made.

    ` close | exit | bye | quit `

  • Greeting: Responds with a greeting message.

    ` hello | hi | hey | yo | sup `

  • Help: Displays the help text with available commands.

    ` help `

  • Add Contact: Adds a new contact.

    ` add | create | new <contact_name> <contact_phone> `

  • Change Contact: Updates an existing contact.

    ` change | edit | update <contact_name> <new_contact_phone> `

  • Delete Contact: Removes a contact.

    ` delete | remove | drop <contact_name> `

  • Show Phone: Displays the phone number of a contact.

    ` phone <contact_name> `

  • Show All Contacts: Displays all contacts.

    ` all `

  • Birthdays: Displays upcoming birthdays.

    ` birthdays <days amount> `

  • Add Birthday: Adds a birthday for a contact.

    ` add-birthday <contact_name> <birthday_date> `

  • Show Birthday: Displays the birthday of a contact.

    ` show-birthday <contact_name> `

  • Add Email: Adds an email address to a contact.

    ` add-email <contact_name> <email_address> `

  • Add Address: Adds an address to a contact.

    ` add-address <contact_name> <street> <building> <city> <additional> `

  • Show Address: Displays the address of a contact.

    ` show-address <contact_name> `

  • Add Note: Adds a note with optional tags.

    ` add-note <title> <note_content> `

  • Add Tag: Adds a tag to an existing note.

    ` add-tag <note_id> [<tag>] `

  • Edit Note: Edits an existing note.

    ` edit-note <note_id> <new_content> `

  • Delete Note: Deletes a note.

    ` delete-note <note_id> `

  • Show Note: Displays a note.

    ` show-note <note_id> `

  • Show All Notes: Displays all notes.

    ` show-all-notes `

  • Search Contact: Searches for a contact by name.

    ` search-contact <contact piece of data> `

  • Search Note: Searches for a note by content.

    ` search-note <key phrase> `

  • Sort Notes: Sorts notes by tag. ` sort-notes [<tag>] `

Metadata

Release files for chandlerbot 1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chandlerbot 1
File Size Uploaded
chandlerbot-1.tar.gz 24.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chandlerbot 1
File Interpreter ABI Platform
chandlerbot-1-py3-none-any.whl Python 3 none any Details

Total release size: 70.0 kB

Release files / chandlerbot-1.tar.gz

Download URL chandlerbot-1.tar.gz
Size 24.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6a2f3faf9021b8a523dbf43b0d313132b543bdf7358d7c2326a2ed4dd8116f93
BLAKE2b-256 checksum
How to use checksums
0b40f2d91d8381c13c5b183273bb215bc6fcf94228e4b2193a76829effd8fde2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release files / chandlerbot-1-py3-none-any.whl

Download URL chandlerbot-1-py3-none-any.whl
Size 45.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f1013c6a28b7aa5663e26c7ddf59bff29315621e64035dd6f11213ea0ba277d1
BLAKE2b-256 checksum
How to use checksums
3ad704acf03bad6ed86726ae671bbab054f5126d19b1f93d8b3deb9e70c0ccab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release history Release notifications | RSS feed

1.2

2 release files

1.1

1 release file

This release

1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page