Wye.Cli 0.0.1

dotnet tool install --global Wye.Cli --version 0.0.1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local Wye.Cli --version 0.0.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Wye.Cli&version=0.0.1
nuke :add-package Wye.Cli --version 0.0.1

Wye

This is alpha software. Use at your own risk.

A task runner allowing easy sharing of data across jobs.

Requirements

  • Currently only supports bash
  • dotnet for installing the tool. Download here

Installation

dotnet tool install -g Wye.Cli

Usage

Create a config.yml file in the root of your project.

jobs:
  - id: hello
    steps:
      - command: echo "Hello" >> $OUTPUT
      - command: echo "World" >> $OUTPUT
  - id: print
    dependsOn: [hello]
    vars:
      - name: GREET
        value: $$jobs.hello.steps.0.output
      - name: PLACE
        value: $$jobs.hello.steps.1.output
    steps:
      - command: echo "$GREET $PLACE"

Then execute the following command:

wye run ./config.yml

How it works

Wye is a task runner that allows you to share data between jobs. It does this by creating a temporary file for each job and storing the output of each step in that file. Storing is done by simply sending the output to $OUTPUT. The output of a step can be referenced in another job by using the $$jobs.<job-id>.steps.<step-id>.output syntax.

When you define vars key value pairs in a job, you can reference that variable in the job.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.0.1 65 4/25/2024