Skip to main content

A library for CLI interaction

Project description

Python CLI Interaction Library

Upload Python Package Pypi

Introduction

This library is created for simplify INPUT/OUTPUT procedure when generating YAML/JSON configurations for daemon services.

Get Started

TODO: complete this example

You can follow this example.

resolution_sel = must_parse_cli_sel("Select color resolution", self.__COLOR_RESOLUTION_CANDIDATES__,
                                                default_value=self.__COLOR_RESOLUTION_DEFAULT_SEL__)
fps_sel = must_parse_cli_sel("Select color fps", self.__COLOR_FPS_CANDIDATES__, default_value=self.__COLOR_FPS_DEFAULT_SEL__)
format_sel = must_parse_cli_sel("Select color format", self.__COLOR_FORMAT_CANDIDATES__,
                                            default_value=self.__COLOR_FORMAT_DEFAULT_SEL__)
exposure_sel = must_parse_cli_int("Set exposure [ 0 - 10000 ], -1 for auto exposure", min=-1, max=10001, default_value=-1)

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

py-cli-interaction-0.3.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

py_cli_interaction-0.3-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

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