UNPKG

rdtool

Version:

A simple Node.js-based remote deployment tool that makes deployments easier with config files.

11 lines (8 loc) 207 B
const dayjs = require("dayjs"); function exec(client, config, command) { return '当前时间:' + dayjs().format("YYYY-MM-DD HH:mm:ss"); } module.exports = { name: "print-time", exec, };