Power-Ups: CliWrap – Webinar Recording
CLI is quite possibly one of the best things to have happened to the world of computing. Using a ubiquitous interface that lends itself extremely well for automation, we can create executables that allow us to share code across all operating systems and all programming languages – essentially the perfect library format! However, interacting with external command line processes is not a simple task. Moreover, it’s a task that the standard Process class in .NET is particularly poorly equipped for. Not only is the API it provides quite difficult to work with, but it’s also really easy to get yourself into one of the dozen possible deadlocking scenarios.
Enter CliWrap, a library for working with command-line executables in a functional manner. It provides a convenient model for launching external processes, redirecting inputs and outputs, awaiting completion, and handling cancellation. At its core, it’s based on a very robust piping model that lets you create intricate execution setups with minimal effort.
Back to the roots of command-line invocations!
- 00:00 – Introduction
- 04:30 – Intro To CLI Wrap
- 15:03 – Code Samples
- 25:30 – WithArguments Items
- 34:00 – Command.ListenAsync
- 40:00 – PipeTarget
- 55:00 – Pipe (|) Operator
- 1:00:08 – PipeSource, Input Pipes, & Output Pipes
- 1:12:00 – Questions
- 1:18:01 – Wrap Up
About the presenter:
Oleksii is a software developer, primarily experienced in cloud & web technologies. He’s the maintainer of multiple popular open-source projects, including CliWrap, DiscordChatExporter, YoutubeDownloaded, and LightBulb. He’s also a vivid tech blogger, frequent conference speaker, Microsoft MVP, and GitHub Star.
Subscribe to Blog updates
Thanks, we've got you!
A Second Set of Bug Fixes: ReSharper 2023.2.2 and Rider 2023.2.2 Are Here!
ReSharper and Rider have just received their second set of bug-fix updates for the 2023.2 release! Let’s take a look at the most important issues that have been resolved in this update. ReSharper For the full list of resolved issues, please refer to our issue tracker. …
ReSharper 2023.3 Early Access Program Begins!
Hello everyone, The Early Access Program for ReSharper 2023.3 has started! Before you download the first EAP build, let’s take a look at what is in store for you. Working with aliases With this first EAP build, we are introducing support for C# 12’s ability for alias directives to refer…
Rider Kicks Off the Early Access Program for the 2023.3 Release!
The Early Access Program for Rider 2023.3 has just begun with the release of the Rider 2023.3 EAP 1 build. There are several ways to get your hands on it: Download and install them from our website. Use the Toolbox App. Install this snap package from the SnapCraft store if you’re using a c…
Eager, Lazy and Explicit Loading with Entity Framework Core
Entity Framework Core (EF Core) supports a number of ways to load related data. There’s eager loading, lazy loading, and explicit loading. Each of these approaches have their own advantages and drawbacks. In this post, let’s have a quick look at each of these ways to load data for navigational prope…