Tye is a tool that makes developing, testing, and deploying microservices and distributed applications easier. Project Tye includes a local orchestrator to make developing microservices easier and the ability to deploy microservices to Kubernetes with min
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1.4 KiB

tye init

Name

tye init - Scaffolds a tye.yaml file representing the application.

Synopsis

tye init [-?|-h|--help] [--force] [<PATH>]

Description

The tye init command scaffolds a tye.yaml file to allow customizing different aspects of tye run and tye deploy.

tye init will by default scaffold each project(s) in an application. For example, if there was a solution file (sln) that contained two csproj files, the tye.yaml contents would look like:

name: application
services:
- name: project1
  project: project1.csproj
- name: project2
  project: project2/project2.csproj

See the tye.yaml schema to learn more about customizations that can be made to the tye.yaml file.

Arguments

PATH

The path to either a file or directory to run tye init on. Can either be a yaml, sln, or project file.

Options

  • --force

    If a tye.yaml file is already present, overwrites it with a newly scaffolded tye.yaml.

Examples

  • Scaffold a tye.yaml in the current directory:

    tye init
    
  • Scaffold a tye.yaml from a path to a directory:

    tye init PATH_TO_DIRECTORY
    
  • Scaffold a tye.yaml from a project file (*.csproj, *.fsproj):

    tye init project.csproj
    
  • Scaffold a tye.yaml from a solution file (sln):

    tye init app.sln