@@ -4,30 +4,30 @@ exports[`cli --help should not surface args that are designated as hidden 1`] =
4
4
"
5
5
Upload, or resync, your OpenAPI/Swagger definition to ReadMe.
6
6
7
- [4m[1mUsage[22m[24m
7
+ Usage
8
8
9
9
rdme openapi [file] [options]
10
10
11
- [4m[1mOptions[22m[24m
11
+ Options
12
12
13
- [1m --key[22m [4mstring[24m Project API key
14
- [1m --id[22m [4mstring[24m Unique identifier for your API definition. Use this if you're re-uploading an
13
+ --key string Project API key
14
+ --id string Unique identifier for your API definition. Use this if you're re-uploading an
15
15
existing API definition
16
- [1m --version[22m [4mstring[24m Project version
17
- [1m-h[22m, [1m --help[22m Display this usage guide
16
+ --version string Project version
17
+ -h, --help Display this usage guide
18
18
19
- [4m[1mRelated commands[22m[24m
19
+ Related commands
20
20
21
- [90m$[39m rdme validate Validate your OpenAPI/Swagger definition.
22
- [90m$[39m rdme swagger Alias for \` rdme openapi\` . [deprecated]
21
+ $ rdme validate Validate your OpenAPI/Swagger definition.
22
+ $ rdme swagger Alias for \` rdme openapi\` . [deprecated]
23
23
"
24
24
` ;
25
25
26
26
exports [` cli --help should print help 1` ] = `
27
27
"
28
- 📖 [34m[1mrdme[22m[39m
28
+ 📖 rdme
29
29
30
- [1ma utlity for interacting with ReadMe[22m
30
+ a utlity for interacting with ReadMe
31
31
.
32
32
.\\\\ /.
33
33
’ ‘ ‘ ‘
@@ -51,56 +51,56 @@ exports[`cli --help should print help 1`] = `
51
51
‘READn’ \\\\ ._./ \\\\ __./ \\\\ .../ ‘MEE*’
52
52
* /*
53
53
54
- [4m[1mUsage[22m[24m
54
+ Usage
55
55
56
56
rdme <command > [arguments]
57
57
58
- [4m[1mOptions[22m[24m
58
+ Options
59
59
60
- [1m-h[22m, [1m --help[22m Display this usage guide
61
- [1m-v[22m, [1m --version[22m Show the current rdme version
60
+ -h, --help Display this usage guide
61
+ -v, --version Show the current rdme version
62
62
63
- [4m[1mAdministration[22m[24m
63
+ Administration
64
64
65
- [90m$[39m rdme login Login to a ReadMe project.
66
- [90m$[39m rdme logout Logs the currently authenticated user out of ReadMe.
67
- [90m$[39m rdme whoami Displays the current user and project authenticated with ReadMe.
65
+ $ rdme login Login to a ReadMe project.
66
+ $ rdme logout Logs the currently authenticated user out of ReadMe.
67
+ $ rdme whoami Displays the current user and project authenticated with ReadMe.
68
68
69
- [4m[1mUpload OpenAPI/Swagger definitions[22m[24m
69
+ Upload OpenAPI/Swagger definitions
70
70
71
- [90m$[39m rdme openapi Upload, or resync, your OpenAPI/Swagger definition to ReadMe.
72
- [90m$[39m rdme validate Validate your OpenAPI/Swagger definition.
73
- [90m$[39m rdme swagger Alias for \`rdme openapi\`. [deprecated]
71
+ $ rdme openapi Upload, or resync, your OpenAPI/Swagger definition to ReadMe.
72
+ $ rdme validate Validate your OpenAPI/Swagger definition.
73
+ $ rdme swagger Alias for \`rdme openapi\`. [deprecated]
74
74
75
- [4m[1mDocumentation[22m[24m
75
+ Documentation
76
76
77
- [90m$[39m rdme docs Sync a folder of markdown files to your ReadMe project.
78
- [90m$[39m rdme docs:edit Edit a single file from your ReadMe project without saving locally.
77
+ $ rdme docs Sync a folder of markdown files to your ReadMe project.
78
+ $ rdme docs:edit Edit a single file from your ReadMe project without saving locally.
79
79
80
- [4m[1mVersions[22m[24m
80
+ Versions
81
81
82
- [90m$[39m rdme versions List versions available in your project or get a version by SemVer
82
+ $ rdme versions List versions available in your project or get a version by SemVer
83
83
(https://semver.org/).
84
- [90m$[39m rdme versions:create Create a new version for your project.
85
- [90m$[39m rdme versions:update Update an existing version for your project.
86
- [90m$[39m rdme versions:delete Delete a version associated with your ReadMe project.
84
+ $ rdme versions:create Create a new version for your project.
85
+ $ rdme versions:update Update an existing version for your project.
86
+ $ rdme versions:delete Delete a version associated with your ReadMe project.
87
87
88
- [4m[1mOther useful commands[22m[24m
88
+ Other useful commands
89
89
90
- [90m$[39m rdme oas Helpful OpenAPI generation tooling.
91
- [90m$[39m rdme open Open your current ReadMe project in the browser.
90
+ $ rdme oas Helpful OpenAPI generation tooling.
91
+ $ rdme open Open your current ReadMe project in the browser.
92
92
93
- Run [2mrdme help <command >[22m for help with a specific command.
93
+ Run rdme help <command > for help with a specific command.
94
94
95
95
To get more help with ReadMe, check out our docs at https://docs.readme.com.
96
96
"
97
97
`;
98
98
99
99
exports[`cli --help should print help for the \`-H\` alias 1`] = `
100
100
"
101
- 📖 [34m[1mrdme[22m[39m
101
+ 📖 rdme
102
102
103
- [1ma utlity for interacting with ReadMe[22m
103
+ a utlity for interacting with ReadMe
104
104
.
105
105
.\\\\ /.
106
106
’ ‘ ‘ ‘
@@ -124,46 +124,46 @@ exports[`cli --help should print help for the \`-H\` alias 1`] = `
124
124
‘READn’ \\\\._./ \\\\__./ \\\\.../ ‘MEE*’
125
125
* /*
126
126
127
- [4m[1mUsage[22m[24m
127
+ Usage
128
128
129
129
rdme <command > [arguments]
130
130
131
- [4m[1mOptions[22m[24m
131
+ Options
132
132
133
- [1m-h[22m, [1m --help[22m Display this usage guide
134
- [1m-v[22m, [1m --version[22m Show the current rdme version
133
+ -h, --help Display this usage guide
134
+ -v, --version Show the current rdme version
135
135
136
- [4m[1mAdministration[22m[24m
136
+ Administration
137
137
138
- [90m$[39m rdme login Login to a ReadMe project.
139
- [90m$[39m rdme logout Logs the currently authenticated user out of ReadMe.
140
- [90m$[39m rdme whoami Displays the current user and project authenticated with ReadMe.
138
+ $ rdme login Login to a ReadMe project.
139
+ $ rdme logout Logs the currently authenticated user out of ReadMe.
140
+ $ rdme whoami Displays the current user and project authenticated with ReadMe.
141
141
142
- [4m[1mUpload OpenAPI/Swagger definitions[22m[24m
142
+ Upload OpenAPI/Swagger definitions
143
143
144
- [90m$[39m rdme openapi Upload, or resync, your OpenAPI/Swagger definition to ReadMe.
145
- [90m$[39m rdme validate Validate your OpenAPI/Swagger definition.
146
- [90m$[39m rdme swagger Alias for \`rdme openapi\`. [deprecated]
144
+ $ rdme openapi Upload, or resync, your OpenAPI/Swagger definition to ReadMe.
145
+ $ rdme validate Validate your OpenAPI/Swagger definition.
146
+ $ rdme swagger Alias for \`rdme openapi\`. [deprecated]
147
147
148
- [4m[1mDocumentation[22m[24m
148
+ Documentation
149
149
150
- [90m$[39m rdme docs Sync a folder of markdown files to your ReadMe project.
151
- [90m$[39m rdme docs:edit Edit a single file from your ReadMe project without saving locally.
150
+ $ rdme docs Sync a folder of markdown files to your ReadMe project.
151
+ $ rdme docs:edit Edit a single file from your ReadMe project without saving locally.
152
152
153
- [4m[1mVersions[22m[24m
153
+ Versions
154
154
155
- [90m$[39m rdme versions List versions available in your project or get a version by SemVer
155
+ $ rdme versions List versions available in your project or get a version by SemVer
156
156
(https://semver.org/).
157
- [90m$[39m rdme versions:create Create a new version for your project.
158
- [90m$[39m rdme versions:update Update an existing version for your project.
159
- [90m$[39m rdme versions:delete Delete a version associated with your ReadMe project.
157
+ $ rdme versions:create Create a new version for your project.
158
+ $ rdme versions:update Update an existing version for your project.
159
+ $ rdme versions:delete Delete a version associated with your ReadMe project.
160
160
161
- [4m[1mOther useful commands[22m[24m
161
+ Other useful commands
162
162
163
- [90m$[39m rdme oas Helpful OpenAPI generation tooling.
164
- [90m$[39m rdme open Open your current ReadMe project in the browser.
163
+ $ rdme oas Helpful OpenAPI generation tooling.
164
+ $ rdme open Open your current ReadMe project in the browser.
165
165
166
- Run [2mrdme help <command >[22m for help with a specific command.
166
+ Run rdme help <command > for help with a specific command.
167
167
168
168
To get more help with ReadMe, check out our docs at https://docs.readme.com.
169
169
"
@@ -173,67 +173,67 @@ exports[`cli --help should print usage for a given command 1`] = `
173
173
"
174
174
Upload, or resync, your OpenAPI/Swagger definition to ReadMe.
175
175
176
- [4m[1mUsage[22m[24m
176
+ Usage
177
177
178
178
rdme openapi [file] [options]
179
179
180
- [4m[1mOptions[22m[24m
180
+ Options
181
181
182
- [1m --key[22m [4mstring[24m Project API key
183
- [1m --id[22m [4mstring[24m Unique identifier for your API definition. Use this if you're re-uploading an
182
+ --key string Project API key
183
+ --id string Unique identifier for your API definition. Use this if you're re-uploading an
184
184
existing API definition
185
- [1m --version[22m [4mstring[24m Project version
186
- [1m-h[22m, [1m --help[22m Display this usage guide
185
+ --version string Project version
186
+ -h, --help Display this usage guide
187
187
188
- [4m[1mRelated commands[22m[24m
188
+ Related commands
189
189
190
- [90m$[39m rdme validate Validate your OpenAPI/Swagger definition.
191
- [90m$[39m rdme swagger Alias for \`rdme openapi\`. [deprecated]
190
+ $ rdme validate Validate your OpenAPI/Swagger definition.
191
+ $ rdme swagger Alias for \`rdme openapi\`. [deprecated]
192
192
"
193
193
`;
194
194
195
195
exports[`cli --help should print usage for a given command if supplied as \`help <command >\` 1`] = `
196
196
"
197
197
Upload, or resync, your OpenAPI/Swagger definition to ReadMe.
198
198
199
- [4m[1mUsage[22m[24m
199
+ Usage
200
200
201
201
rdme openapi [file] [options]
202
202
203
- [4m[1mOptions[22m[24m
203
+ Options
204
204
205
- [1m --key[22m [4mstring[24m Project API key
206
- [1m --id[22m [4mstring[24m Unique identifier for your API definition. Use this if you're re-uploading an
205
+ --key string Project API key
206
+ --id string Unique identifier for your API definition. Use this if you're re-uploading an
207
207
existing API definition
208
- [1m --version[22m [4mstring[24m Project version
209
- [1m-h[22m, [1m --help[22m Display this usage guide
208
+ --version string Project version
209
+ -h, --help Display this usage guide
210
210
211
- [4m[1mRelated commands[22m[24m
211
+ Related commands
212
212
213
- [90m$[39m rdme validate Validate your OpenAPI/Swagger definition.
214
- [90m$[39m rdme swagger Alias for \`rdme openapi\`. [deprecated]
213
+ $ rdme validate Validate your OpenAPI/Swagger definition.
214
+ $ rdme swagger Alias for \`rdme openapi\`. [deprecated]
215
215
"
216
216
`;
217
217
218
218
exports[`cli --help should show related commands for a subcommands help menu 1`] = `
219
219
"
220
220
List versions available in your project or get a version by SemVer (https://semver.org/).
221
221
222
- [4m[1mUsage[22m[24m
222
+ Usage
223
223
224
224
rdme versions [options]
225
225
226
- [4m[1mOptions[22m[24m
226
+ Options
227
227
228
- [1m --key[22m [4mstring[24m Project API key
229
- [1m --version[22m [4mstring[24m A specific project version to view
230
- [1m --raw[22m Return raw output from the API instead of in a \\"pretty\\" format.
231
- [1m-h[22m, [1m --help[22m Display this usage guide
228
+ --key string Project API key
229
+ --version string A specific project version to view
230
+ --raw Return raw output from the API instead of in a \\"pretty\\" format.
231
+ -h, --help Display this usage guide
232
232
233
- [4m[1mRelated commands[22m[24m
233
+ Related commands
234
234
235
- [90m$[39m rdme versions:create Create a new version for your project.
236
- [90m$[39m rdme versions:update Update an existing version for your project.
237
- [90m$[39m rdme versions:delete Delete a version associated with your ReadMe project.
235
+ $ rdme versions:create Create a new version for your project.
236
+ $ rdme versions:update Update an existing version for your project.
237
+ $ rdme versions:delete Delete a version associated with your ReadMe project.
238
238
"
239
239
`;
0 commit comments