Skip to main content

Brev — URL shortener CLI. Zero dependencies.

Project description

brev-cli

CLI client for Brev.

pip install brev-cli

brev login user@example.com --server http://localhost:8000
brev token create --name laptop
brev create https://example.com --slug go --title "Example"
brev list
brev stats go
brev delete go
brev whoami
brev logout

brev login prompts for the password securely instead of reading it from shell history. brev token create creates a revocable API key and stores it in ~/.brev/config with 0600 permissions.

For local development from this repository, install it with:

python3 -m pip install --user -e ./cli

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

brev_cli-0.1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

brev_cli-0.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file brev_cli-0.1.0.tar.gz.

File metadata

  • Download URL: brev_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for brev_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 280fb451f6cae3ea63a7a2b9afafede8b4c06fb6c97a544a2acdde153b29ac85
MD5 0b55d06ffe146d7f506a4d9cf3dc18b8
BLAKE2b-256 69c3b14b9642eaa8677052113ffc28e28dccdea589aa67df9767ca76400af4ce

See more details on using hashes here.

File details

Details for the file brev_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: brev_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for brev_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1617266a8dd5288892677585bc65f15cf2b73f39f416499b94e05081c91abec9
MD5 34bd7ee582e785661cbf142c0d425b6f
BLAKE2b-256 6b33fcacd1858e4e5a69ee09ee9ed3446711355f5912ccf1806982b1f4c49d02

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