tomas/src/Tomas.Terminal/Programs/About.cs
Tony Bark 7c3230685b Rewritten IProgram interface and CST to support arguments.
- With the help of ChatGPT, the IProgram interface has been rewritten to handle command line arguments.
- Speaking of, the CST parser has been rewritten to finally support arguments with the help of ChatGPT too.
- Separately from the ChatGPT changes, the Run method has been renamed to Entry.
- Terminal's entry code is now top-level.

See ChangeLog.md for more details.
2023-01-08 22:27:21 -05:00

21 lines
No EOL
614 B
C#

/*
In jurisdictions that recognize copyright waivers, I've waived all copyright
and related or neighboring rights for to this project. In areas where these
waivers are not recognized, BSD-3-Clause is enforced.
See the (UN)LICENSE file in the project root for more information.
*/
namespace Tomas.Terminal.Programs;
public class About : IProgram
{
public string Name { get; set; }
public string Description { get; set; }
public IEnumerable<IArguments> Arguments { get; set; }
public bool Entry(IShell shell, IEnumerable<KeyValuePair<string, object>> arguments)
{
return true;
}
}