smartcert/ts/install.ts

10 lines
370 B
TypeScript
Raw Normal View History

2016-06-18 13:42:09 +00:00
import * as beautylog from "beautylog";
import * as path from "path";
import * as smartfile from "smartfile";
beautylog.info("installing letsencrypt.sh locally...");
smartfile.remote.toFs(
"https://raw.githubusercontent.com/lukas2511/letsencrypt.sh/master/letsencrypt.sh",
path.join(__dirname,"assets/","le.sh")
).then(() => {
beautylog.success("Done!");
});