dsh

DSH provides conveniences that make it easier to write simple scripts in D.

Several phobos modules are preemptively imported so that you don't need to do so in your script. Additionally, helper functions are defined which are especially useful for scripts.

Public Imports

std.stdio
public import std.stdio;
Undocumented in source.
std.file
public import std.file;
Undocumented in source.
utils
public import utils;
Undocumented in source.

Members

Functions

error
void error(string s, Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
print
void print(string s, Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
sleepMillis
void sleepMillis(long amount)

Sleeps for a specified amount of milliseconds.

sleepSeconds
void sleepSeconds(long amount)

Sleeps for a specified amount of seconds.

Meta