Skip to main content

A CLI interface for doing auto-completion of YAML items in a CNaaS settings repository

Project description

CNaaS YAML CLI

A CLI interface for doing auto-completion of YAML items in a CNaaS settings repository

Example run/install script:

#!/bin/bash

CYCPATH="$HOME/.cnaas_yaml_cli"

# if directory .cnaas_yaml_cli exists
if [ -d $CYCPATH ]; then
  $CYCPATH/bin/python3 -m venv --upgrade $CYCPATH
else
  # ask to continue y/n, save in variable REPLY
  read -p "venv $CYCPATH does not exist, create? [y/N] " -n 1 -r
  if [[ $REPLY =~ ^[Yy]$ ]]; then
    python3 -m venv $CYCPATH
    $CYCPATH/bin/pip3 -q install cnaas_yaml_cli
  fi
fi

$CYCPATH/bin/python3 $CYCPATH/lib/python*/site-packages/cnaas_yaml_cli/cli.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

cnaas_yaml_cli-0.0.7.tar.gz (31.8 kB view details)

Uploaded Source

Built Distribution

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

cnaas_yaml_cli-0.0.7-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

File details

Details for the file cnaas_yaml_cli-0.0.7.tar.gz.

File metadata

  • Download URL: cnaas_yaml_cli-0.0.7.tar.gz
  • Upload date:
  • Size: 31.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.9

File hashes

Hashes for cnaas_yaml_cli-0.0.7.tar.gz
Algorithm Hash digest
SHA256 b7c7e7aef0216957baec51e480a2fd771fd2282af1530bfdd6a6b72ded8ff7b5
MD5 81d2c9f2a95b9bdf379d781f6b2780e2
BLAKE2b-256 0d99fb8f2944f998c2db4f2e56bb7c1a8b568cf8625c76453e75b37d39f1c9ce

See more details on using hashes here.

File details

Details for the file cnaas_yaml_cli-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: cnaas_yaml_cli-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 28.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.9

File hashes

Hashes for cnaas_yaml_cli-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 864fe524fe429ab6664017242d5f01f0189b419bfa14cd2a03a09812d85eabd7
MD5 5e5d3a42117da89ac928e88b3be1f560
BLAKE2b-256 f25e94288a01bdf643b62b01877c30534bb62b60b6bc020ef2faf4ce5f957cdb

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