Skip to content

Commit f29d592

Browse files
committed
Remove old dependency, add extra info
1 parent 7ce195e commit f29d592

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

BooleanExpressionParser/.vscode/launch.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"preLaunchTask": "build",
99
"program": "${workspaceFolder}/bin/Debug/net7.0/BooleanExpressionParser.dll",
1010
"args": [
11+
"table"
1112
// "A.B",
1213
// "A+B",
1314
// "!(A+B+C)",

BooleanExpressionParser/BooleanExpressionParser.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
<ItemGroup>
1111
<PackageReference Include="Spectre.Console" Version="0.45.0" />
1212
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
13-
<PackageReference Include="System.CommandLine.DragonFruit" Version="0.4.0-alpha.22272.1" />
1413
</ItemGroup>
1514

1615
</Project>

BooleanExpressionParser/Program.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ private static void Main(string[] args)
1515
var falseOption = new Option<string>(new[] { "--false", "-f" }, () => "0", description: "Character to use for false values in the truth table.");
1616
var expressionsArgument = new Argument<string[]>("expression(s)", description: "The boolean expression(s) to evaluate.");
1717

18-
var tableCommand = new Command("table", description: "Prints the truth table of a boolean expression(s).")
18+
var tableCommand = new Command("table", description: "Prints the truth table of a boolean expression(s). If none are provided, the user will be prompted to enter them.")
1919
{
2020
trueOption,
2121
falseOption,
@@ -27,8 +27,6 @@ private static void Main(string[] args)
2727
rootCommand.AddCommand(tableCommand);
2828

2929
rootCommand.Invoke(args);
30-
31-
3230
}
3331

3432

0 commit comments

Comments
 (0)