Skip to main content

Command line tool to keep logs

Project description

logbook-cli

Command line tool to keep logs.

Usage:

$ logbook-cli [OPTIONS] COMMAND [ARGS]...

Options:

  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.

Commands:

  • add: Add a log entry to the logbook.
  • delete: Delete a log entry using it's ID.
  • edit: Update a log entry using it's ID.
  • find: List all log entries that match the argument.
  • list: List all log entries in a table, limits upto...
  • view: View a single log entry using it's ID.

logbook-cli add

Add a log entry to the logbook.

Usage:

$ logbook-cli add [OPTIONS] DESCRIPTION

Arguments:

  • DESCRIPTION: Description of the log entry [required]

Options:

  • -d, --date [%Y-%m-%d|%Y-%m-%dT%H:%M:%S|%Y-%m-%d %H:%M:%S]: Date of the log entry [default: log entry date]
  • -t, --time [%H:%M:%S|%I:%M %p]: Time of the log entry [default: log entry time]
  • --help: Show this message and exit.

logbook-cli delete

Delete a log entry using it's ID.

Usage:

$ logbook-cli delete [OPTIONS] ID

Arguments:

  • ID: ID of the log entry [required]

Options:

  • --help: Show this message and exit.

logbook-cli edit

Update a log entry using it's ID.

Usage:

$ logbook-cli edit [OPTIONS] ID

Arguments:

  • ID: ID of the log entry [required]

Options:

  • --description TEXT: New Description for the log entry [default: ]
  • -d, --date [%Y-%m-%d|%Y-%m-%dT%H:%M:%S|%Y-%m-%d %H:%M:%S]: New Date for the log entry
  • -t, --time [%H:%M:%S|%I:%M %p]: New Time for the log entry
  • --help: Show this message and exit.

logbook-cli find

List all log entries that match the argument.

Usage:

$ logbook-cli find [OPTIONS] DESCRIPTION_CONTAINS

Arguments:

  • DESCRIPTION_CONTAINS: String that may match log entry description [required]

Options:

  • --help: Show this message and exit.

logbook-cli list

List all log entries in a table, limits upto 40 log entries.

Usage:

$ logbook-cli list [OPTIONS]

Options:

  • --help: Show this message and exit.

logbook-cli view

View a single log entry using it's ID.

Usage:

$ logbook-cli view [OPTIONS] ID

Arguments:

  • ID: ID of the log entry [required]

Options:

  • --help: Show this message and exit.

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

logbook-cli-0.5.1.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

logbook_cli-0.5.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file logbook-cli-0.5.1.tar.gz.

File metadata

  • Download URL: logbook-cli-0.5.1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.4 Linux/5.8.0-53-generic

File hashes

Hashes for logbook-cli-0.5.1.tar.gz
Algorithm Hash digest
SHA256 a475e6823c2f6cde13de0d5cb8a137dce0cd9e06c77926655994b278bd0327f9
MD5 5837d2335ea55c3d79cecbf86c49880c
BLAKE2b-256 9f4ce8b4edf788e8149b6081c9b260a1d5c09add1c78999944f77cf58927c811

See more details on using hashes here.

File details

Details for the file logbook_cli-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: logbook_cli-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.4 Linux/5.8.0-53-generic

File hashes

Hashes for logbook_cli-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3f57b603342ac3811f5df7a7c1ea5b7b0c5e7eea513460fb6cc62f6509b4fcf3
MD5 ef5de5c3a4216326e7ee0d5f9b23a947
BLAKE2b-256 51e7ca9c859459a02fe239dc928ddbd7ca1a76f634f5500f244678b4fdad3230

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