~/talk

Building intuitive command-line interfaces in .NET

Talkat .NET fwdays'21 conference · 2021-08-03..08-12· [developer-experience]
slides:none on file

Builds a working Atari Lynx emulator CLI and a ROM converter using System.CommandLine, with demos on .NET 6/.NET Standard; shows model binding that converts strings to FileInfo/enum/int, validation (existing files, ranges), middleware interception, command hierarchies, and global tool tab-completion. Shows DragonFruit for one-file CLIs and Spectre.Console for progress bars and interactive prompts. Demonstrates graceful cancellation (Ctrl+C), parser/debug directives, unit testing via IConsole, and that the demos actually run and produce expected output.

AI-written summary · about

  1. 0:00Start
  2. 7:51Command syntax
  3. 8:39Command-line lifecyde
  4. 21:26Middleware pipeline
  5. 23:32Model binding
  6. 30:47Making it intuitive
  7. 32:16Suggestions and typo corrections
  8. 33:16Debugging tips
  9. 40:23Comparing CLI frameworks (opinionated)
  10. 40:41Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.