mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 18:15:24 +02:00
Merge branch 'main' into add-find-page-de
This commit is contained in:
commit
5e091fc096
17 changed files with 35 additions and 18 deletions
13
pages.es/common/gvim.md
Normal file
13
pages.es/common/gvim.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
# gvim
|
||||
|
||||
> Una versión de interfaz gráfica de usuario de Vim (Vi IMproved), un editor de texto de línea de comandos.
|
||||
> Vea también: `vimdiff`, `vimtutor`, `nvim`, `vim`.
|
||||
> Más información: <https://www.vim.org>.
|
||||
|
||||
- Abre `gvim`:
|
||||
|
||||
`gvim`
|
||||
|
||||
- Abre un archivo específico:
|
||||
|
||||
`gvim {{ruta/al/archivo}}`
|
|
@ -1,7 +1,7 @@
|
|||
# go bug
|
||||
|
||||
> Report a bug.
|
||||
> More information: <https://golang.org/cmd/go/#hdr-Start_a_bug_report>.
|
||||
> More information: <https://pkg.go.dev/cmd/go#hdr-Start_a_bug_report>.
|
||||
|
||||
- Open a web page to start a bug report:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# go build
|
||||
|
||||
> Compile Go sources.
|
||||
> More information: <https://golang.org/cmd/go/#hdr-Compile_packages_and_dependencies>.
|
||||
> More information: <https://pkg.go.dev/cmd/go#hdr-Compile_packages_and_dependencies>.
|
||||
|
||||
- Compile a 'package main' file (output will be the filename without extension):
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# go clean
|
||||
|
||||
> Remove object files and cached files.
|
||||
> More information: <https://golang.org/cmd/go/#hdr-Remove_object_files_and_cached_files>.
|
||||
> More information: <https://pkg.go.dev/cmd/go#hdr-Remove_object_files_and_cached_files>.
|
||||
|
||||
- Print the remove commands instead of actually removing anything:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# go doc
|
||||
|
||||
> View documentation for a package or symbol.
|
||||
> More information: <https://golang.org/cmd/go/#hdr-Show_documentation_for_package_or_symbol>.
|
||||
> More information: <https://pkg.go.dev/cmd/go#hdr-Show_documentation_for_package_or_symbol>.
|
||||
|
||||
- View documentation for the current package:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# go env
|
||||
|
||||
> Manage environment variables used by the Go toolchain.
|
||||
> More information: <https://golang.org/cmd/go/#hdr-Print_Go_environment_information>.
|
||||
> More information: <https://pkg.go.dev/cmd/go#hdr-Print_Go_environment_information>.
|
||||
|
||||
- Show all environment variables:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# go fix
|
||||
|
||||
> Update packages to use new APIs.
|
||||
> More information: <https://golang.org/cmd/go/#hdr-Update_packages_to_use_new_APIs>.
|
||||
> More information: <https://pkg.go.dev/cmd/go#hdr-Update_packages_to_use_new_APIs>.
|
||||
|
||||
- Update packages to use new APIs:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# go generate
|
||||
|
||||
> Generate Go files by running commands within source files.
|
||||
> More information: <https://golang.org/cmd/go/#hdr-Generate_Go_files_by_processing_source>.
|
||||
> More information: <https://pkg.go.dev/cmd/go#hdr-Generate_Go_files_by_processing_source>.
|
||||
|
||||
- Generate Go files by running commands within source files:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# go list
|
||||
|
||||
> List packages or modules.
|
||||
> More information: <https://golang.org/cmd/go/#hdr-List_packages_or_modules>.
|
||||
> More information: <https://pkg.go.dev/cmd/go#hdr-List_packages_or_modules>.
|
||||
|
||||
- List packages:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# go mod
|
||||
|
||||
> Module maintenance.
|
||||
> More information: <https://golang.org/cmd/go/#hdr-Module_maintenance>.
|
||||
> More information: <https://pkg.go.dev/cmd/go#hdr-Module_maintenance>.
|
||||
|
||||
- Initialize new module in current directory:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# go version
|
||||
|
||||
> Display Go version.
|
||||
> More information: <https://golang.org/cmd/go/#hdr-Print_Go_version>.
|
||||
> More information: <https://pkg.go.dev/cmd/go#hdr-Print_Go_version>.
|
||||
|
||||
- Display version:
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> Manage Go source code.
|
||||
> Some subcommands such as `build` have their own usage documentation.
|
||||
> More information: <https://golang.org>.
|
||||
> More information: <https://go.dev/>.
|
||||
|
||||
- Download and install a package, specified by its import path:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# gofmt
|
||||
|
||||
> Format Go source code.
|
||||
> More information: <https://golang.org/cmd/gofmt/>.
|
||||
> More information: <https://pkg.go.dev/cmd/gofmt>.
|
||||
|
||||
- Format a file and display the result to the console:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# goimports
|
||||
|
||||
> Updates Go import lines, adding missing ones and removing unreferenced ones.
|
||||
> More information: <https://godoc.org/golang.org/x/tools/cmd/goimports>.
|
||||
> More information: <https://pkg.go.dev/golang.org/x/tools/cmd/goimports>.
|
||||
|
||||
- Display the completed import source file:
|
||||
|
||||
|
|
|
@ -31,3 +31,7 @@
|
|||
- Multiplex together test video and test audio into a file:
|
||||
|
||||
`gst-launch-1.0 {{[-e|--eos-on-shutdown]}} videotestsrc ! x264enc ! {{element_name}}. audiotestsrc ! opusenc ! {{element_name}}. matroskamux name={{element_name}} ! filesink location={{path/to/file.mkv}}`
|
||||
|
||||
- Dump a pipeline into a `.dot` file which can then be rendered with tools like `dot`:
|
||||
|
||||
`GST_DEBUG_DUMP_DOT_DIR={{path/to/directory}} gst-launch-1.0 {{pipeline}}`
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Build and serve a site on a specified port number:
|
||||
|
||||
`hugo server --port {{port_number}}`
|
||||
`hugo server {{[-p|--port]}} {{port_number}}`
|
||||
|
||||
- Build and serve a site while minifying supported output formats (HTML, XML, etc.):
|
||||
|
||||
|
@ -17,8 +17,8 @@
|
|||
|
||||
- Build and serve a site in the production environment with full re-renders while minifying supported formats:
|
||||
|
||||
`hugo server --environment {{production}} --disableFastRender --minify`
|
||||
`hugo server {{[-e|--environment]}} {{production}} --disableFastRender --minify`
|
||||
|
||||
- Display help:
|
||||
|
||||
`hugo server --help`
|
||||
`hugo server {{[-h|--help]}}`
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
- Build a site including pages that are marked as a "draft":
|
||||
|
||||
`hugo --buildDrafts`
|
||||
`hugo {{[-D|--buildDrafts]}}`
|
||||
|
||||
- Build a site on your local IP:
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
|||
|
||||
- Build a site to a given directory:
|
||||
|
||||
`hugo --destination {{path/to/destination}}`
|
||||
`hugo {{[-d|--destination]}} {{path/to/destination}}`
|
||||
|
||||
- Build a site, start up a webserver to serve it, and automatically reload when pages are edited:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue