-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cc1e118
commit 657b2c8
Showing
4 changed files
with
25 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using CommandLine; | ||
|
||
namespace tarot{ | ||
[Verb("get", HelpText = "Retrieve cards from the deck.")] | ||
public class GetOptions{ | ||
[Value(0, MetaName = "amount", MetaValue = "int", Default = 1, HelpText = "Amount of cards to retrieve.")] | ||
public uint Amount{get; set;} | ||
} | ||
|
||
[Verb("shuffle", HelpText = "Shuffle the deck")] | ||
public class ShuffleOptions{ | ||
[Value(0, MetaName = "type", MetaValue = "string", Default = "riffle", HelpText = "What shuffle to perform.")] | ||
public string Type{get; set;} | ||
[Value(1, MetaName = "amount", MetaValue = "int", Default = 1, HelpText = "Number of shuffles to perform.")] | ||
public int Amount{get; set;} | ||
[Option('q',"quiet", HelpText = "Suppress stdout.")] | ||
public bool Quiet{get; set;} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters