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.
dshutils
public import dshutils;
Undocumented in source.

Members

Functions

error
void error(string s, Args args)

Convenience method to print a string to stderr, optionally with some arguments.

print
void print(string s, Args args)

Convenience method to print a string, optionally with some arguments.

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