Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yevhen committed Sep 5, 2014
1 parent 5086b2c commit 2630a27
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,14 @@ var who = "world"; // with the values passed from the comm
[Task] void Tell(
string what = "Hello", // for parameterized tasks you can supply
string whom = "world", // arguments directly from the command line
int times = 1, // (string, int and boolean arguments are supported)
int times = 1, // (string, int, boolean and
DayOfWeek when, // enum arguments are supported)
bool quiet = false // + special switch syntax for booleans (eg, --quiet)
)
{
var emphasis = quiet ? "" : "!";
for (; times > 0; times--)
WriteLine("{what},{whom}{emphasis}");
WriteLine("{what}, {whom} on {when}{emphasis}");
}

[Step] void Clean() // Steps are Tasks with 'run once' semantics
Expand Down

0 comments on commit 2630a27

Please sign in to comment.