mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 19:27:44 +02:00
A few fixes to docs generation and default config (#4570)
* A few fixes to docs generation and default config * A few more fixes
This commit is contained in:
@ -1,16 +0,0 @@
|
||||
---
|
||||
title: git checkout
|
||||
layout: command
|
||||
version: 0.59.0
|
||||
---
|
||||
|
||||
|
||||
|
||||
## Signature
|
||||
|
||||
```> git checkout (branch)```
|
||||
|
||||
## Parameters
|
||||
|
||||
- `branch`:
|
||||
|
@ -1,17 +0,0 @@
|
||||
---
|
||||
title: git push
|
||||
layout: command
|
||||
version: 0.59.0
|
||||
---
|
||||
|
||||
|
||||
|
||||
## Signature
|
||||
|
||||
```> git push (remote) (branch)```
|
||||
|
||||
## Parameters
|
||||
|
||||
- `remote`:
|
||||
- `branch`:
|
||||
|
@ -8,7 +8,7 @@ Post a body to a URL (HTTP POST operation).
|
||||
|
||||
## Signature
|
||||
|
||||
```> post (path) (body) --user --password --content-type --content-length --raw --insecure```
|
||||
```> post (path) (body) --user --password --content-type --content-length --headers --raw --insecure```
|
||||
|
||||
## Parameters
|
||||
|
||||
@ -18,6 +18,7 @@ Post a body to a URL (HTTP POST operation).
|
||||
- `--password {any}`: the password when authenticating
|
||||
- `--content-type {any}`: the MIME type of content to post
|
||||
- `--content-length {any}`: the length of the content being posted
|
||||
- `--headers {any}`: custom headers you want to add
|
||||
- `--raw`: return values as a string instead of a table
|
||||
- `--insecure`: allow insecure server connections when using SSL
|
||||
|
||||
@ -33,3 +34,8 @@ Post content to url.com, with username and password
|
||||
> post -u myuser -p mypass url.com 'body'
|
||||
```
|
||||
|
||||
Post content to url.com, with custom header
|
||||
```shell
|
||||
> post -H [my-header-key my-header-value] url.com
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user