3lv assumes that you are in the git repository of the project you are working on.
# you will be prompted for input
3lv initThis will create a 3lv.yml file in the root of your repository.
The advantage of having a configuration file is that you can avoid typing the same options every time you run a command.
See here for more information.
3lv build --project-file src/MyProject.csproj --system-name core my-cool-application
# or use shorthand
3lv build -f src/MyProject.csproj -s core my-cool-application
# or with 3lv.yml
3lv build my-cool-application3lv build --project-file src/MyProject.csproj --system-name core --push my-cool-application
# or use shorthand
3lv build -f src/MyProject.csproj -s core -p my-cool-application
# or with 3lv.yml
3lv build -p my-cool-application3lv build --project-file src/MyProject.csproj --system-name core --push --registry ghcr my-cool-application
# or use shorthand
3lv build -f src/MyProject.csproj -s core -p -r ghcr my-cool-application
# or with 3lv.yml
3lv build -p -r ghcr my-cool-application3lv build --project-file src/MyProject.csproj --system-name core --generate-only my-cool-application
# or use shorthand
3lv build -f src/MyProject.csproj -s core -G my-cool-application
# or with 3lv.yml
3lv build -G my-cool-application3lv scan my-cool-image3lv scan --severity CRITICAL my-cool-image
# or use shorthand
3lv scan -S CRITICAL my-cool-image3lv scan --formats json,markdown my-cool-image
# or use shorthand
3lv scan -F json,markdown my-cool-imageThis assumes you are currently in the root of your repository (hence the . at the end of the command).
3lv github-actions --system-name core --application-name my-cool-application --project-file src/MyProject.csproj .
# or use shorthand
3lv gha -s core -a my-cool-application -f src/MyProject.csproj .Remember to also add your repository to github-repositories-terraform to enable access from GitHub Actions to Kubernetes.
3lv github-actions --system-name core --application-name my-cool-application --runtime-cloud-provider iss --helm-values-file CI/values.yaml --project-file src/MyProject.csproj
# or use shorthand
3lv gha -s core -a my-cool-application -r iss -F CI/values.yaml -f src/MyProject.csprojRemember to also add your repository to the list of repositories in the github-actions-deploy-module
in iss-terraform to enable access from GitHub Actions to ISS.
3lv create --system-name core --application-name my-cool-application --template dotnet8-webapi .
# or use shorthand
3lv create -s core -a my-cool-application -t dotnet8-webapi .3lv create --system-name core --application-name my-cool-application --template python-webapi .
# or use shorthand
3lv create -s core -a my-cool-application -t python-webapi .3lv create --system-name core --application-name my-cool-application --template go-webapi .
# or use shorthand
3lv create -s core -a my-cool-application -t go-webapi .Create a new .NET 8 API in the applications directory of a monorepo, putting the GitHub Actions workflows in the the root of the repository
3lv create --system-name core --application-name my-cool-application --template dotnet8-webapi --github-actions-directory . applications
# or use shorthand
3lv create -s core -a my-cool-application -t dotnet8-webapi -G . applications