Skip to main content
Version: 0.8

environment create

Usage​

tecton environment create [OPTIONS]

Description​

Create a custom Python Environment.

Options​

FlagDescription
-n, --name TEXTName of the environment [required]
-r, --requirements PATHPath to the requirements.txt file [required]
-d, --description TEXTDescription of the environment, Optional
-p, --python-version TEXTPython Version for the environment. Optional, defaults to 3.8
--verboseActivates debug mode and provides detailed output, including subcommands and diagnostic information to assist in troubleshooting
-h, --helpShow command usage and available options

Examples​

Creating a custom environment environment:

tecton environment create --name my-custom-env --description "My custom Python environment" --requirements /path/to/requirements.txt

Create a custom environment for Python version 3.9

tecton environment create --name my-custom-env --description "My custom Python environment" --requirements /path/to/requirements.txt --python-version 3.9

Was this page helpful?