Repository F# setup
open System
open System.IO
open System.Threading
open System.Threading.Tasks
open Axial
open Axial.Console
open Axial.FileSystem
open Axial.Hosting
open Axial.Hosting.Browser
open Axial.Hosting.Node
open Axial.State
open Axial.Telemetry
open Axial.Telemetry.JavaScript

Console

Axial.Console replaces System.Console with an explicit service. Install it and open Axial.Console:

dotnet add package Axial.Console
Verified
open Axial.Console

IConsole covers the three standard streams, redirection and encoding state, and interactive terminal control. Console.live provides the live implementation, while Console.test records writes for tests.

Guides

  1. Using the console service: reads, writes, redirection, terminal control, and test doubles.

Reference

The generated Console API lists the service operations and live/test implementations.