Skip to content

Commit 1c9dd78

Browse files
committed
Update docs for nu commands
1 parent 71d888e commit 1c9dd78

3 files changed

Lines changed: 72 additions & 2 deletions

File tree

commands/docs/abbr.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
title: abbr
3+
categories: |
4+
platform
5+
version: 0.113.0
6+
platform: |
7+
Abbreviations related commands.
8+
usage: |
9+
Abbreviations related commands.
10+
editLink: false
11+
contributors: false
12+
---
13+
<!-- This file is automatically generated. Please edit the command in https://github.com/nushell/nushell instead. -->
14+
15+
# `abbr` for [platform](/commands/categories/platform.md)
16+
17+
<div class='command-title'>Abbreviations related commands.</div>
18+
19+
## Signature
20+
21+
```> abbr {flags} ```
22+
23+
24+
## Input/output types:
25+
26+
| input | output |
27+
| ------- | ------ |
28+
| nothing | string |
29+
## Notes
30+
You must use one of the following subcommands. Using this command as-is will only produce this help message.
31+
32+
## Subcommands:
33+
34+
| name | description | type |
35+
| ------------------------------------------ | ------------------------------- | -------- |
36+
| [`abbr list`](/commands/docs/abbr_list.md) | List all defined abbreviations. | built-in |

commands/docs/abbr_list.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
title: abbr list
3+
categories: |
4+
platform
5+
version: 0.113.0
6+
platform: |
7+
List all defined abbreviations.
8+
usage: |
9+
List all defined abbreviations.
10+
editLink: false
11+
contributors: false
12+
---
13+
<!-- This file is automatically generated. Please edit the command in https://github.com/nushell/nushell instead. -->
14+
15+
# `abbr list` for [platform](/commands/categories/platform.md)
16+
17+
<div class='command-title'>List all defined abbreviations.</div>
18+
19+
## Signature
20+
21+
```> abbr list {flags} ```
22+
23+
24+
## Input/output types:
25+
26+
| input | output |
27+
| ------- | ------ |
28+
| nothing | table |
29+
## Examples
30+
31+
List all abbreviations
32+
```nu
33+
> abbr list
34+
35+
```

commands/docs/query_web.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ Retrieve all `<header>` elements from phoronix.com website
3939

4040
Retrieve a html table from Wikipedia and parse it into a nushell table using table headers as guides
4141
```nu
42-
> http get https://en.wikipedia.org/wiki/List_of_cities_in_India_by_population |
43-
query web --as-table [City 'Population(2011)[3]' 'Population(2001)[3][a]' 'State or unionterritory' 'Reference']
42+
> http get https://en.wikipedia.org/wiki/List_of_terminal_emulators | query web --as-table ['Name', 'Type', 'Connectivity', 'User Interface', 'Operating System']
4443
4544
```
4645

0 commit comments

Comments
 (0)