Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pages/common/rustup-init.sh.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

- Download and run `rustup-init` to install `rustup` and the default Rust toolchain:

`curl https://sh.rustup.rs -sSf | sh -s`
`curl https://sh.rustup.rs {{[-sSf|--silent --show-error --fail]}} | sh -s`

- Download and run `rustup-init` and pass arguments to it:

`curl https://sh.rustup.rs -sSf | sh -s -- {{arguments}}`
`curl https://sh.rustup.rs {{[-sSf|--silent --show-error --fail]}} | sh -s -- {{arguments}}`

- Run `rustup-init` and specify additional components or targets to install:

Expand Down
4 changes: 2 additions & 2 deletions pages/common/zek.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# zek

> Generate a Go struct from XML.
> More information: <https://github.com/miku/zek>.
> More information: <https://github.com/miku/zek#usage>.

- Generate a Go struct from a given XML from `stdin` and display output on `stdout`:

`cat {{path/to/input.xml}} | zek`

- Generate a Go struct from a given XML from `stdin` and send output to a file:

`curl -s {{https://url/to/xml}} | zek -o {{path/to/output.go}}`
`curl {{[-s|--silent]}} {{https://url/to/xml}} | zek -o {{path/to/output.go}}`

- Generate an example Go program from a given XML from `stdin` and send output to a file:

Expand Down