0.10.0 • Published 1 year ago

administratum v0.10.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Administratum

All the tools you need to perform your duty to the empire of man

Examples

These are just a few examples of some of the features Administratum offers

Run cli commands

$("ls -l");
$("echo", ["hello world"]);

Typescript implementation of common bash commands

cp("file.txt", "dir/copy.txt");
mv("file.txt", "newName.txt");
mkdir("newFolder");
find("/dir", /name/);
grep(/WARN/, "file.log");

File utilities

readFile("file.txt");
touch("file.txt");
Path.temp().join("dir", "file.txt").exists();

Download files

await fetch("http://domain.com/setup.zip");

Extract archives

await extract("archive.zip");
await extract("archive.tar");

Windows registery utilities

regQueryKey("HKEY_CURRENT_USER\\Software\\Microsoft");
regAddValue("HKEY_CURRENT_USER\\Software\\MyApp", "enabled", "REG_DWORD", 1);

Automation pipeline

flow("Create folders", (task) => {
    task("Make applications dir", () => {
        mkdir("applications");
    });
});

flow("Extract archives", (task) => {
    task("Extract DB", async () => {
        await extract("mongodb.zip", "applications");
    });

    task("Extract WF", async () => {
        await extract("wildly.zip", "applications");
    });

    task.skip("Skipped", () => {
        // Skipped
    });
});

Adeptus administratum adept

0.10.0

1 year ago

0.9.0

2 years ago

0.8.0

2 years ago

0.7.0

2 years ago

0.6.0

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago

0.3.1

2 years ago

0.2.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago