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.2

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.2
File Size Uploaded
chandlerbot-1.2.tar.gz 24.3 kB Details

Built distribution (wheel)

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

Total release size: 70.9 kB

Release files / chandlerbot-1.2.tar.gz

Download URL chandlerbot-1.2.tar.gz
Size 24.3 kB
Tags Source
SHA-256 checksum
How to use checksums
54a5967c25deb647a0b3232786c56ff772cf5586fa682028d9351487ee5cbf15
BLAKE2b-256 checksum
How to use checksums
e786be97ddef5007ad1b506a3d7d164b17ea4871e38c0a1d82f8483bdec8c01e
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.2-py3-none-any.whl

Download URL chandlerbot-1.2-py3-none-any.whl
Size 46.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b11e6f897e98855cd94966b3c330582ff3dfe53f99086eca2738579d9339583
BLAKE2b-256 checksum
How to use checksums
6247948991b108160f2ebe0c44bee73c2c968fd60e8e4e6ffb15fd502fe9dcba
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

This release

1.2 This release

2 release files

1.1

1 release file

1

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