You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.log(`docu-notion version ${pkg.version}`);
10
10
11
11
program.name("docu-notion").description("");
12
+
program.usage("-n <token> -r <root> [options]");
12
13
program
13
-
.requiredOption("-n, --notion-token <string>","notion api token")
14
14
.requiredOption(
15
-
"-r, --root-page <string>",
16
-
"The 31 character ID of the page which is the root of your notion docs"
15
+
"-n, --notion-token <string>",
16
+
"notion api token, which looks like secret_3bc1b50XFYb15123RHF243x43450XFY33250XFYa343"
17
17
)
18
18
.requiredOption(
19
+
"-r, --root-page <string>",
20
+
"The 31 character ID of the page which is the root of your docs page in notion. The code will look like 9120ec9960244ead80fa2ef4bc1bba25. This page must have a child page named 'Outline'"
21
+
)
22
+
.option(
19
23
"-m, --markdown-output-path <string>",
20
24
"Root of the hierarchy for md files. WARNING: node-pull-mdx will delete files from this directory. Note also that if it finds localized images, it will create an i18n/ directory as a sibling.",
0 commit comments