@bifos/dooray-cli 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1919,7 +1919,7 @@ var mailListCommand = new import_commander28.Command("list").description("\uBA54
|
|
|
1919
1919
|
headers: ["UID", "\uC77D\uC74C", "\uB0A0\uC9DC", "\uBCF4\uB0B8\uC0AC\uB78C", "\uC81C\uBAA9"],
|
|
1920
1920
|
rows: mails.map((m) => [
|
|
1921
1921
|
String(m.uid),
|
|
1922
|
-
m.isRead ? "\u2713" : import_chalk4.default.
|
|
1922
|
+
m.isRead ? "\u2713" : import_chalk4.default.red("\u2717"),
|
|
1923
1923
|
m.date ? m.date.toLocaleDateString("ko-KR") : "",
|
|
1924
1924
|
m.from.replace(/<.*>/, "").trim() || m.from,
|
|
1925
1925
|
m.subject
|
|
@@ -2125,7 +2125,7 @@ var mailReplyCommand = new import_commander31.Command("reply").description("\uBA
|
|
|
2125
2125
|
|
|
2126
2126
|
// src/index.ts
|
|
2127
2127
|
var program = new import_commander32.Command();
|
|
2128
|
-
program.name("dooray").description("Dooray REST API CLI").version("0.3.
|
|
2128
|
+
program.name("dooray").description("Dooray REST API CLI").version("0.3.1").option("--json", "JSON \uD615\uC2DD\uC73C\uB85C \uCD9C\uB825").option("--quiet", "ID\uB9CC \uCD9C\uB825").option("--no-color", "\uC0C9\uC0C1 \uBE44\uD65C\uC131\uD654");
|
|
2129
2129
|
program.hook("preAction", () => {
|
|
2130
2130
|
const opts = program.opts();
|
|
2131
2131
|
if (opts.color === false || process.env.NO_COLOR) {
|