Skip to content

Commit a95543a

Browse files
committed
Refresh command docs for Nu v0.93
1 parent 0a7a6e8 commit a95543a

File tree

529 files changed

+1136
-633
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

529 files changed

+1136
-633
lines changed

.vuepress/configs/sidebar/command_categories.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export const commandCategories = [
2525
'/commands/categories/network.md',
2626
'/commands/categories/path.md',
2727
'/commands/categories/platform.md',
28+
'/commands/categories/plugin.md',
2829
'/commands/categories/prompt.md',
2930
'/commands/categories/random.md',
3031
'/commands/categories/removed.md',

commands/categories/plugin.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Plugin
2+
3+
<script>
4+
import pages from '@temp/pages'
5+
export default {
6+
computed: {
7+
commands() {
8+
return pages
9+
.filter(p => p.path.includes('/commands/docs/'))
10+
.filter(p => p.frontmatter.categories.includes('plugin'))
11+
.sort((a,b) => (a.title > b.title) ? 1 : ((b.title > a.title) ? -1 : 0));
12+
}
13+
}
14+
}
15+
</script>
16+
17+
<table>
18+
<tr>
19+
<th>Command</th>
20+
<th>Description</th>
21+
</tr>
22+
<tr v-for="command in commands">
23+
<td><a :href="$withBase(command.path)">{{ command.title }}</a></td>
24+
<td style="white-space: pre-wrap;">{{ command.frontmatter.usage }}</td>
25+
</tr>
26+
</table>

commands/docs/alias.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: alias
33
categories: |
44
core
5-
version: 0.92.0
5+
version: 0.92.3
66
core: |
77
Alias a command (with optional flags) to a new name.
88
usage: |

commands/docs/all.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: all
33
categories: |
44
filters
5-
version: 0.92.0
5+
version: 0.92.3
66
filters: |
77
Test if every element of the input fulfills a predicate expression.
88
usage: |

commands/docs/ansi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: ansi
33
categories: |
44
platform
5-
version: 0.92.0
5+
version: 0.92.3
66
platform: |
77
Output ANSI codes to change color and style of text.
88
usage: |

commands/docs/ansi_gradient.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: ansi gradient
33
categories: |
44
platform
5-
version: 0.92.0
5+
version: 0.92.3
66
platform: |
77
Add a color gradient (using ANSI color codes) to the given string.
88
usage: |

commands/docs/ansi_link.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: ansi link
33
categories: |
44
platform
5-
version: 0.92.0
5+
version: 0.92.3
66
platform: |
77
Add a link (using OSC 8 escape sequence) to the given string.
88
usage: |

commands/docs/ansi_strip.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: ansi strip
33
categories: |
44
platform
5-
version: 0.92.0
5+
version: 0.92.3
66
platform: |
77
Strip ANSI escape sequences from a string.
88
usage: |

commands/docs/any.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: any
33
categories: |
44
filters
5-
version: 0.92.0
5+
version: 0.92.3
66
filters: |
77
Tests if any element of the input fulfills a predicate expression.
88
usage: |

commands/docs/append.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: append
33
categories: |
44
filters
5-
version: 0.92.0
5+
version: 0.92.3
66
filters: |
77
Append any number of rows to a table.
88
usage: |

0 commit comments

Comments
 (0)