Инициализация проекта

This commit is contained in:
Alexander Zhirov 2025-05-23 01:27:15 +03:00
commit bcfd2c49e5
Signed by: alexander
GPG key ID: C8D8BE544A27C511
8 changed files with 64 additions and 0 deletions

14
source/app.d Normal file
View file

@ -0,0 +1,14 @@
import snapd;
import commandr;
import core.stdc.stdlib : EXIT_SUCCESS;
private string programName = "snapd";
int main(string[] args)
{
auto argumets = new Program(programName, snapdVersion)
.parse(args);
return EXIT_SUCCESS;
}

3
source/snapd/package.d Normal file
View file

@ -0,0 +1,3 @@
module snapd;
public import snapd.version_;

3
source/snapd/version_.d Normal file
View file

@ -0,0 +1,3 @@
module snapd.version_;
enum snapdVersion = "0.0.1";