notion-github 0.2.9 → 0.2.11
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/cli.js +3 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
@@ -2789,7 +2789,7 @@ var {
|
|
2789
2789
|
} = import_index.default;
|
2790
2790
|
|
2791
2791
|
// package.json
|
2792
|
-
var version = "0.2.
|
2792
|
+
var version = "0.2.11";
|
2793
2793
|
|
2794
2794
|
// src/commands/create/action.ts
|
2795
2795
|
var import_rest = require("@octokit/rest");
|
@@ -3039,7 +3039,7 @@ async function action3(options) {
|
|
3039
3039
|
const defaultConfig = {
|
3040
3040
|
githubToken: options.token || "YOUR_GITHUB_TOKEN_HERE",
|
3041
3041
|
language: options.language || "en",
|
3042
|
-
defaultRepository: options.
|
3042
|
+
defaultRepository: options.defaultRepo || ""
|
3043
3043
|
// 추가적인 기본 설정이 필요하다면 여기에 추가
|
3044
3044
|
};
|
3045
3045
|
import_fs2.default.writeFileSync(configPath, JSON.stringify(defaultConfig, null, 2) + "\n");
|
@@ -3055,7 +3055,7 @@ async function action3(options) {
|
|
3055
3055
|
|
3056
3056
|
// src/commands/init/index.ts
|
3057
3057
|
function initCommand(program3) {
|
3058
|
-
program3.command("init").description("Initialize configuration file").option("--token <token>", "GitHub token").option("--language <lang>", "Language setting (en|ko)", /^(en|ko)$/, "en").option("--
|
3058
|
+
program3.command("init").description("Initialize configuration file").option("--token <token>", "GitHub token").option("--language <lang>", "Language setting (en|ko)", /^(en|ko)$/, "en").option("--default-repo <repo>", "Default repository (owner/repo format)").action(action3);
|
3059
3059
|
}
|
3060
3060
|
|
3061
3061
|
// src/cli.ts
|