Skip to main content

Small package for creating command line interfaces

Project description

Clite - a small package for creating command line interfaces

The name is inspired by the SQLite

:warning: This package is currently under development. :warning:

Installation

pip install clite

Usage

from clite import Clite

app = Clite(
    name="myapp",
    description="A small package for creating command line interfaces",
)

@app.command()
def hello():
    print("Hello, world!")

if __name__ == "__main__":
    app()

Roadmap

0.1.0 - Create a library for creating command line interfaces

  • Make it possible to create a CLI application
  • Make it possible to create a command via a decorator
  • Make it possible to create command arguments
  • Make it possible to create optional command arguments

0.2.0

  • Make it possible to create subcommands

0.3.0 - Echo message in the console

  • Make it possible to echo a message in the console

Copyright 2024 - today, Roman Sotnikov. All rights reserved.

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

clite-0.2.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

clite-0.2.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file clite-0.2.1.tar.gz.

File metadata

  • Download URL: clite-0.2.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.23

File hashes

Hashes for clite-0.2.1.tar.gz
Algorithm Hash digest
SHA256 e9f7e0ad905bdbef9adef30c05ace9050340069999b378bad11c4ecefb1c0de9
MD5 6d9010358a49dd528f5f23d2cdaf76a7
BLAKE2b-256 dddcefaf185903825bc8f1987de71d88511ad69c9883ff7c4d168db82c1bdf21

See more details on using hashes here.

File details

Details for the file clite-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: clite-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.23

File hashes

Hashes for clite-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ad69ed55f691510a8d780622a148c355e37814e268e000350187d66f6c5298d7
MD5 95f4cf314fb288ec36ef589567192d26
BLAKE2b-256 fbd9939c2f49c04a8223d41b56bc795def619645e7faa8cf377643d2f80af734

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