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
Run the exporter with the desired Confluence page ID or space key. Execute the console application by typing `confluence-markdown-exporter` and one of the commands `pages`, `pages-with-descendants`, `spaces`, `all-spaces` or `config`. If a command is unclear, you can always add `--help` to get additional information.
58
58
59
-
> [!TIP]
60
-
> Instead of `confluence-markdown-exporter` you can also use the shorthand `cf-export`.
61
-
62
59
#### 2.1. Export Page
63
60
64
61
Export a single Confluence page by ID:
65
62
66
63
```sh
67
-
confluence-markdown-exporter pages <page-id e.g. 645208921> --output-path <output path e.g. ./output_path/>
64
+
cme pages <page-id e.g. 645208921> --output-path <output path e.g. ./output_path/>
68
65
```
69
66
70
67
or by URL:
71
68
72
69
```sh
73
-
confluence-markdown-exporter pages <page-url e.g. https://company.atlassian.net/MySpace/My+Page+Title> --output-path <output path e.g. ./output_path/>
70
+
cme pages <page-url e.g. https://company.atlassian.net/MySpace/My+Page+Title> --output-path <output path e.g. ./output_path/>
74
71
```
75
72
76
73
#### 2.2. Export Page with Descendants
77
74
78
75
Export a Confluence page and all its descendant pages by page ID:
79
76
80
77
```sh
81
-
confluence-markdown-exporter pages-with-descendants <page-id e.g. 645208921> --output-path <output path e.g. ./output_path/>
78
+
cme pages-with-descendants <page-id e.g. 645208921> --output-path <output path e.g. ./output_path/>
82
79
```
83
80
84
81
or by URL:
85
82
86
83
```sh
87
-
confluence-markdown-exporter pages-with-descendants <page-url e.g. https://company.atlassian.net/MySpace/My+Page+Title> --output-path <output path e.g. ./output_path/>
84
+
cme pages-with-descendants <page-url e.g. https://company.atlassian.net/MySpace/My+Page+Title> --output-path <output path e.g. ./output_path/>
88
85
```
89
86
90
87
#### 2.3. Export Space
91
88
92
89
Export all Confluence pages of a single Space:
93
90
94
91
```sh
95
-
confluence-markdown-exporter spaces <space-key e.g. MYSPACE> --output-path <output path e.g. ./output_path/>
92
+
cme spaces <space-key e.g. MYSPACE> --output-path <output path e.g. ./output_path/>
96
93
```
97
94
98
95
#### 2.4. Export all Spaces
99
96
100
97
Export all Confluence pages across all spaces:
101
98
102
99
```sh
103
-
confluence-markdown-exporter all-spaces --output-path <output path e.g. ./output_path/>
100
+
cme all-spaces --output-path <output path e.g. ./output_path/>
104
101
```
105
102
106
103
### 3. Output
@@ -127,7 +124,7 @@ All configuration and authentication is stored in a single JSON file managed by
127
124
To interactively view and change configuration, run:
0 commit comments