Some stuff
This commit is contained in:
parent
5f736b062c
commit
cc40924831
4 changed files with 18 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
||||||
FileVersion = 1
|
FileVersion = 1
|
||||||
Projects = {Scarab = {Path = "."}}
|
Projects = {Scarab = {Path = "."}, Common = {Git = "https://code.booklordofthe.dev/Booklordofthedings/Common"}}
|
||||||
|
|
||||||
[Workspace]
|
[Workspace]
|
||||||
StartupProject = "Scarab"
|
StartupProject = "Scarab"
|
||||||
|
|
6
BeefSpace_Lock.toml
Normal file
6
BeefSpace_Lock.toml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
FileVersion = 1
|
||||||
|
|
||||||
|
[Locks.Common.Git]
|
||||||
|
URL = "https://code.booklordofthe.dev/Booklordofthedings/Common"
|
||||||
|
Tag = ""
|
||||||
|
Hash = "50abe7a88b4cbaae3273d6a2f855266c55b28ab1"
|
8
src/Commands/ScarabCommandAttribute.bf
Normal file
8
src/Commands/ScarabCommandAttribute.bf
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
namespace Scarab.Commands;
|
||||||
|
|
||||||
|
using System;
|
||||||
|
|
||||||
|
[AttributeUsage(.Function)]
|
||||||
|
struct ScarabCommandAttribute : Attribute
|
||||||
|
{
|
||||||
|
}
|
|
@ -7,17 +7,15 @@ using System.Interop;
|
||||||
|
|
||||||
class Program
|
class Program
|
||||||
{
|
{
|
||||||
//private static bool _shouldClose = false;
|
private static bool _shouldClose = false;
|
||||||
|
|
||||||
///Close the program once the execution of the current command is finished
|
///Close the program once the execution of the current command is finished
|
||||||
//public static void Close() => _shouldClose = true;
|
public static void Close() => _shouldClose = true;
|
||||||
|
|
||||||
public static void Main(String[] args)
|
public static void Main(String[] args)
|
||||||
{
|
{
|
||||||
Console.Read();
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
while(!_shouldClose)
|
while(!_shouldClose)
|
||||||
{
|
{
|
||||||
DrawCursor();
|
DrawCursor();
|
||||||
|
@ -26,7 +24,6 @@ class Program
|
||||||
Close();
|
Close();
|
||||||
|
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
- Load Configuration
|
- Load Configuration
|
||||||
|
@ -35,12 +32,10 @@ class Program
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
private static void DrawCursor()
|
private static void DrawCursor()
|
||||||
{
|
{
|
||||||
var dir = Directory.GetCurrentDirectory(.. scope .());
|
var dir = Directory.GetCurrentDirectory(.. scope .());
|
||||||
Console.Write(scope $"{dir}>");
|
Console.Write(scope $"{dir}>");
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue