mirror of
https://github.com/tonytins/tomas.git
synced 2025-04-30 03:31:39 -04:00
- 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.
21 lines
No EOL
614 B
C#
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;
|
|
}
|
|
} |