Skip to content

atmandhol/sup

Repository files navigation

sup

sup is an interactive CLI for Tanzu Supply chains.

Getting Started

See all latest runs

Make sure your kubeconfig is pointing to the cluster you want to run sup against. Run sup to launch the home page:

sup

  • Use the : to switch focus to supply chain and status selector for filtering by chain and status.
  • The footer bar in the bottom show you all the options on a particular screen.

Run Details

Hit enter on any one of the runs to see the details page:

sup

Logs for stages

Press L to see the logs of any stage:

sup

Install sup

Prerequisites

  • Install the latest Python 3.12.x or later from python.org

Recommended way to install tappr is by using pipx. You can brew install pipx as follows:

brew install pipx
pipx ensurepath

To Install latest:

pipx install git+https://github.com/atmandhol/sup.git

If you already have sup installed from latest, and want to pull in the new changes:

pipx reinstall sup
  • Run sup on your command line to confirm if its installed.

sup

Setup for Local

  • Install poetry on the system level using
pip3 install poetry
  • Create a virtualenv tappr using virtualenvwrapper and run install
mkvirtualenv sup -p python3
poetry install
  • Run locally
poetry run sup

Build

Run the following poetry command

poetry build

This will generate a dist folder with a whl file and a tar.gz file.

Upgrade dependencies

Run the following poetry command

poetry update