Skip to main content

A simple CLI hello example using argparse.

Project description

hello-cli

A tiny example CLI built with Python’s argparse. It exposes a hello command that greets one or more names with a couple of optional flags.

Install (development)

poetry install

Usage

Run via Poetry:

poetry run hello Alice Bob
poetry run hello -s -f Alice

Options:

  • -s, --shout: Upper‑case the greeting
  • -f, --flirty: Add a friendly compliment

Install with pipx (optional)

pipx install .
hello --help

Reinstall after changes:

pipx reinstall .

Project details

  • Entry point: hello (configured in pyproject.toml under [tool.poetry.scripts])
  • Source: src/hello/main.py

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

asher_hello_cli-0.1.0.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

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

asher_hello_cli-0.1.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: asher_hello_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.12.3 Darwin/24.6.0

File hashes

Hashes for asher_hello_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 562015282c7b4a2712081690ec69681c95d36e2c3816acf2c7982ed0f72fe19d
MD5 143d91ee6c9a35f672a90b17c5420170
BLAKE2b-256 882172eb810881c6a08bddb2c961095f8e8ad17c3b4e411475ea04dc7cbb4506

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asher_hello_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.12.3 Darwin/24.6.0

File hashes

Hashes for asher_hello_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f0951a93461c2df47f83e56056b35ca2c69c78fd1cf16bfaf7f4684c0b95e23
MD5 302977a4e5450e79a78ef040c41ee9ed
BLAKE2b-256 cff21346f91c5f5a8d8c3c4e0dd78661637be5a7fa3443a0a858bb3ecbe7e55e

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