Skip to main content

You personal assistant

Project description

## 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>] `

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

chandlerbot-1.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chandlerbot-1-py3-none-any.whl (45.8 kB view details)

Uploaded Python 3

File details

Details for the file chandlerbot-1.tar.gz.

File metadata

  • Download URL: chandlerbot-1.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for chandlerbot-1.tar.gz
Algorithm Hash digest
SHA256 6a2f3faf9021b8a523dbf43b0d313132b543bdf7358d7c2326a2ed4dd8116f93
MD5 3573a1897d55629cad78f9b9192efeef
BLAKE2b-256 0b40f2d91d8381c13c5b183273bb215bc6fcf94228e4b2193a76829effd8fde2

See more details on using hashes here.

File details

Details for the file chandlerbot-1-py3-none-any.whl.

File metadata

  • Download URL: chandlerbot-1-py3-none-any.whl
  • Upload date:
  • Size: 45.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for chandlerbot-1-py3-none-any.whl
Algorithm Hash digest
SHA256 f1013c6a28b7aa5663e26c7ddf59bff29315621e64035dd6f11213ea0ba277d1
MD5 e5c5deeeb7525a061fa8fd75796661b9
BLAKE2b-256 3ad704acf03bad6ed86726ae671bbab054f5126d19b1f93d8b3deb9e70c0ccab

See more details on using hashes here.

Supported by

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