orangeqs.juice.orchestration.sources#

Module for locating sources of the Juice package.

Module Contents#

Functions#

juice_cli_path

Find the absolute path to the juice CLI.

API#

orangeqs.juice.orchestration.sources.juice_cli_path() str#

Find the absolute path to the juice CLI.

Uses the following methods in order:

  1. Check if the current script is juice.

  2. Check if juice is in the system PATH.

  3. Return /usr/bin/juice, the install path of the system package.

Returns#

  • (str): The absolute path to the Juice CLI.