environment create
Usage​
tecton environment create [OPTIONS]
Description​
Create a custom Python Environment.
Options​
Flag | Description |
---|---|
-n , --name TEXT | Name of the environment [required] |
-r, --requirements PATH | Path to the requirements.txt file [required] |
-d , --description TEXT | Description of the environment, Optional |
-p, --python-version TEXT | Python Version for the environment. Optional, defaults to 3.8 |
--verbose | Activates debug mode and provides detailed output, including subcommands and diagnostic information to assist in troubleshooting |
-h, --help | Show 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