Инициализация проекта
This commit is contained in:
commit
bcfd2c49e5
8 changed files with 64 additions and 0 deletions
14
source/app.d
Normal file
14
source/app.d
Normal 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
3
source/snapd/package.d
Normal file
|
@ -0,0 +1,3 @@
|
|||
module snapd;
|
||||
|
||||
public import snapd.version_;
|
3
source/snapd/version_.d
Normal file
3
source/snapd/version_.d
Normal file
|
@ -0,0 +1,3 @@
|
|||
module snapd.version_;
|
||||
|
||||
enum snapdVersion = "0.0.1";
|
Loading…
Add table
Add a link
Reference in a new issue