Skip to main content

Practice · 3 of 4

CLI verb effects

CHALLENGE
Difficulty: beginner+25 XP

Implement static (bool Compiles, bool Runs, bool Packages) VerbEffect(string verb)"build" → (true, false, false); "run" → (true, true, false); "publish" → (true, true, true); "test" → (true, false, false); unknown verb → ArgumentException.

Back to lesson: Practice: Project workshop