Since targets like JS(in browser) and Flash do not have concept of command line arguments. Haxe put such "system" target things in Sys and the top level sys package.
class Example {
public static function main():Void {
for (arg in Sys.args())
Sys.println(arg);
}
}