conversations
listlengths
2
2
[ { "from": "human", "value": "Tell me about `go mod`." }, { "from": "gpt", "value": "Module maintenance.\nMore information: <https://golang.org/cmd/go/#hdr-Module_maintenance>.\n" } ]
[ { "from": "human", "value": "Initialize new module in current directory via the `go-mod` command" }, { "from": "gpt", "value": "`go mod init {{moduleName}}`" } ]
[ { "from": "human", "value": "Download modules to local cache via the `go-mod` command" }, { "from": "gpt", "value": "`go mod download`" } ]
[ { "from": "human", "value": "Add missing and remove unused modules via the `go-mod` command" }, { "from": "gpt", "value": "`go mod tidy`" } ]
[ { "from": "human", "value": "Verify dependencies have expected content via the `go-mod` command" }, { "from": "gpt", "value": "`go mod verify`" } ]
[ { "from": "human", "value": "Copy sources of all dependencies into the vendor directory via the `go-mod` command" }, { "from": "gpt", "value": "`go mod vendor`" } ]
[ { "from": "human", "value": "Tell me about `google-chrome`." }, { "from": "gpt", "value": "This command is an alias of `chromium`.\nMore information: <https://chrome.google.com>.\n" } ]
[ { "from": "human", "value": "View documentation for the original command via the `google-chrome` command" }, { "from": "gpt", "value": "`tldr chromium`" } ]
[ { "from": "human", "value": "Tell me about `googler`." }, { "from": "gpt", "value": "Search Google from command-line.\nMore information: <https://github.com/jarun/googler>.\n" } ]
[ { "from": "human", "value": "Search Google for a keyword via the `googler` command" }, { "from": "gpt", "value": "`googler {{keyword}}`" } ]
[ { "from": "human", "value": "Search Google and open the first result in web browser via the `googler` command" }, { "from": "gpt", "value": "`googler -j {{keyword}}`" } ]
[ { "from": "human", "value": "Show `n` search results (default: 10) via the `googler` command" }, { "from": "gpt", "value": "`googler -n {{n}} {{keyword}}`" } ]
[ { "from": "human", "value": "Disable automatic spelling correction via the `googler` command" }, { "from": "gpt", "value": "`googler -x {{keyword}}`" } ]
[ { "from": "human", "value": "Search one site for a keyword via the `googler` command" }, { "from": "gpt", "value": "`googler -w {{site}} {{keyword}}`" } ]
[ { "from": "human", "value": "Show Google search result in JSON format via the `googler` command" }, { "from": "gpt", "value": "`googler --json {{keyword}}`" } ]
[ { "from": "human", "value": "Perform in-place self-upgrade via the `googler` command" }, { "from": "gpt", "value": "`googler -u`" } ]
[ { "from": "human", "value": "Display help in interactive mode via the `googler` command" }, { "from": "gpt", "value": "`<?>`" } ]
[ { "from": "human", "value": "Tell me about `gopass`." }, { "from": "gpt", "value": "Standard Unix Password Manager for Teams. Written in Go.\nMore information: <https://www.gopass.pw>.\n" } ]
[ { "from": "human", "value": "Initialize the configuration settings via the `gopass` command" }, { "from": "gpt", "value": "`gopass init`" } ]
[ { "from": "human", "value": "Create a new entry via the `gopass` command" }, { "from": "gpt", "value": "`gopass new`" } ]
[ { "from": "human", "value": "Show all stores via the `gopass` command" }, { "from": "gpt", "value": "`gopass mounts`" } ]
[ { "from": "human", "value": "Mount a shared Git store via the `gopass` command" }, { "from": "gpt", "value": "`gopass mounts add {{store_name}} {{git_repo_url}}`" } ]
[ { "from": "human", "value": "Search interactively using a keyword via the `gopass` command" }, { "from": "gpt", "value": "`gopass show {{keyword}}`" } ]
[ { "from": "human", "value": "Search using a keyword via the `gopass` command" }, { "from": "gpt", "value": "`gopass find {{keyword}}`" } ]
[ { "from": "human", "value": "Sync all mounted stores via the `gopass` command" }, { "from": "gpt", "value": "`gopass sync`" } ]
[ { "from": "human", "value": "Show a particular password entry via the `gopass` command" }, { "from": "gpt", "value": "`gopass {{store_name|path/to/directory|email@email.com}}`" } ]
[ { "from": "human", "value": "Tell me about `gops`." }, { "from": "gpt", "value": "List and diagnose Go processes currently running on your system.\nMore information: <https://github.com/google/gops>.\n" } ]
[ { "from": "human", "value": "Print all go processes running locally via the `gops` command" }, { "from": "gpt", "value": "`gops`" } ]
[ { "from": "human", "value": "Print more information about a process via the `gops` command" }, { "from": "gpt", "value": "`gops {{pid}}`" } ]
[ { "from": "human", "value": "Display a process tree via the `gops` command" }, { "from": "gpt", "value": "`gops tree`" } ]
[ { "from": "human", "value": "Print the current stack trace from a target program via the `gops` command" }, { "from": "gpt", "value": "`gops stack {{pid|addr}}`" } ]
[ { "from": "human", "value": "Print the current runtime memory statistics via the `gops` command" }, { "from": "gpt", "value": "`gops memstats {{pid|addr}}`" } ]
[ { "from": "human", "value": "Tell me about `goreload`." }, { "from": "gpt", "value": "Live reload utility for Go programs.\nMore information: <https://github.com/acoshift/goreload>.\n" } ]
[ { "from": "human", "value": "Watch a binary file (defaults to `.goreload`) via the `goreload` command" }, { "from": "gpt", "value": "`goreload -b {{path/to/binary}} {{path/to/file.go}}`" } ]
[ { "from": "human", "value": "Set a custom log prefix (defaults to `goreload`) via the `goreload` command" }, { "from": "gpt", "value": "`goreload --logPrefix {{prefix}} {{path/to/file.go}}`" } ]
[ { "from": "human", "value": "Reload whenever any file changes via the `goreload` command" }, { "from": "gpt", "value": "`goreload --all`" } ]
[ { "from": "human", "value": "Tell me about `go run`." }, { "from": "gpt", "value": "Compile and run Go code without saving a binary.\nMore information: <https://pkg.go.dev/cmd/go#hdr-Compile_and_run_Go_program>.\n" } ]
[ { "from": "human", "value": "Run a Go file via the `go-run` command" }, { "from": "gpt", "value": "`go run {{path/to/file.go}}`" } ]
[ { "from": "human", "value": "Run a main Go package via the `go-run` command" }, { "from": "gpt", "value": "`go run {{path/to/package}}`" } ]
[ { "from": "human", "value": "Tell me about `gotelemetry`." }, { "from": "gpt", "value": "Manage Go telemetry data and settings.\nMore information: <https://telemetry.go.dev/privacy#collection>.\n" } ]
[ { "from": "human", "value": "Enable telemetry uploading via the `gotelemetry` command" }, { "from": "gpt", "value": "`gotelemetry on`" } ]
[ { "from": "human", "value": "Disable telemetry uploading via the `gotelemetry` command" }, { "from": "gpt", "value": "`gotelemetry off`" } ]
[ { "from": "human", "value": "Run a Web Viewer for local telemetry data via the `gotelemetry` command" }, { "from": "gpt", "value": "`gotelemetry view`" } ]
[ { "from": "human", "value": "Print the current telemetry environment via the `gotelemetry` command" }, { "from": "gpt", "value": "`gotelemetry env`" } ]
[ { "from": "human", "value": "Display help for a specific subcommand via the `gotelemetry` command" }, { "from": "gpt", "value": "`gotelemetry help {{subcommand}}`" } ]
[ { "from": "human", "value": "Tell me about `go test`." }, { "from": "gpt", "value": "Tests Go packages (files have to end with `_test.go`).\nMore information: <https://pkg.go.dev/cmd/go#hdr-Testing_flags>.\n" } ]
[ { "from": "human", "value": "Test the package found in the current directory via the `go-test` command" }, { "from": "gpt", "value": "`go test`" } ]
[ { "from": "human", "value": "[v]erbosely test the package in the current directory via the `go-test` command" }, { "from": "gpt", "value": "`go test -v`" } ]
[ { "from": "human", "value": "Test the packages in the current directory and all subdirectories (note the `...`) via the `go-test` command" }, { "from": "gpt", "value": "`go test -v ./...`" } ]
[ { "from": "human", "value": "Test the package in the current directory and run all benchmarks via the `go-test` command" }, { "from": "gpt", "value": "`go test -v -bench .`" } ]
[ { "from": "human", "value": "Test the package in the current directory and run all benchmarks for 50 seconds via the `go-test` command" }, { "from": "gpt", "value": "`go test -v -bench . -benchtime {{50s}}`" } ]
[ { "from": "human", "value": "Test the package with coverage analysis via the `go-test` command" }, { "from": "gpt", "value": "`go test -cover`" } ]
[ { "from": "human", "value": "Tell me about `go tool`." }, { "from": "gpt", "value": "Run a Go tool or command.\nExecute a Go command as a stand-alone binary, typically for debugging.\nMore information: <https://pkg.go.dev/cmd/go#hdr-Run_specified_go_tool>.\n" } ]
[ { "from": "human", "value": "List available tools via the `go-tool` command" }, { "from": "gpt", "value": "`go tool`" } ]
[ { "from": "human", "value": "Run the go link tool via the `go-tool` command" }, { "from": "gpt", "value": "`go tool link {{path/to/main.o}}`" } ]
[ { "from": "human", "value": "Print the command that would be executed, but do not execute it (similar to `whereis`) via the `go-tool` command" }, { "from": "gpt", "value": "`go tool -n {{command}} {{arguments}}`" } ]
[ { "from": "human", "value": "View documentation for a specified tool via the `go-tool` command" }, { "from": "gpt", "value": "`go tool {{command}} --help`" } ]
[ { "from": "human", "value": "List all available cross-compilation targets via the `go-tool` command" }, { "from": "gpt", "value": "`go tool dist list`" } ]
[ { "from": "human", "value": "Tell me about `gotty`." }, { "from": "gpt", "value": "Share your terminal as a web application.\nMore information: <https://github.com/yudai/gotty>.\n" } ]
[ { "from": "human", "value": "Share result of command via the `gotty` command" }, { "from": "gpt", "value": "`gotty {{command}}`" } ]
[ { "from": "human", "value": "Share with write permission via the `gotty` command" }, { "from": "gpt", "value": "`gotty -w {{shell}}`" } ]
[ { "from": "human", "value": "Share with credential (Basic Auth) via the `gotty` command" }, { "from": "gpt", "value": "`gotty -w -c {{username}}:{{password}} {{shell}}`" } ]
[ { "from": "human", "value": "Tell me about `gouldtoppm`." }, { "from": "gpt", "value": "Convert a Gould scanner file to a PPM image.\nMore information: <https://netpbm.sourceforge.net/doc/gouldtoppm.html>.\n" } ]
[ { "from": "human", "value": "Convert a Gould scanner file to a PPM image via the `gouldtoppm` command" }, { "from": "gpt", "value": "`gouldtoppm {{path/to/file.gould}} > {{path/to/output.ppm}}`" } ]
[ { "from": "human", "value": "Tell me about `gource`." }, { "from": "gpt", "value": "Renders an animated tree diagram of Git, SVN, Mercurial and Bazaar repositories.\nIt shows files and directories being created, modified or removed over time.\nMore information: <https://gource.io>.\n" } ]
[ { "from": "human", "value": "Run gource in a directory (if it isn't the repository's root directory, the root is sought up from there) via the `gource` command" }, { "from": "gpt", "value": "`gource {{path/to/repository}}`" } ]
[ { "from": "human", "value": "Run gource in the current directory, with a custom output resolution via the `gource` command" }, { "from": "gpt", "value": "`gource -{{width}}x{{height}}`" } ]
[ { "from": "human", "value": "Specify the timescale for the animation via the `gource` command" }, { "from": "gpt", "value": "`gource -c {{time_scale_multiplier}}`" } ]
[ { "from": "human", "value": "Specify how long each day should be in the animation (this combines with -c, if provided) via the `gource` command" }, { "from": "gpt", "value": "`gource -s {{seconds}}`" } ]
[ { "from": "human", "value": "Use fullscreen mode and a custom background color via the `gource` command" }, { "from": "gpt", "value": "`gource -f -b {{hex_color_code}}`" } ]
[ { "from": "human", "value": "Specify the animation title via the `gource` command" }, { "from": "gpt", "value": "`gource --title {{title}}`" } ]
[ { "from": "human", "value": "Tell me about `go version`." }, { "from": "gpt", "value": "Display Go version.\nMore information: <https://golang.org/cmd/go/#hdr-Print_Go_version>.\n" } ]
[ { "from": "human", "value": "Display version via the `go-version` command" }, { "from": "gpt", "value": "`go version`" } ]
[ { "from": "human", "value": "Display the Go version used to build a specific executable file via the `go-version` command" }, { "from": "gpt", "value": "`go version {{path/to/executable}}`" } ]
[ { "from": "human", "value": "Tell me about `go vet`." }, { "from": "gpt", "value": "Check Go source code and report suspicious constructs (e.g. lint your Go source files).\nGo vet returns a non-zero exit code if problems are found; returns a zero exit code if no problems are found.\nMore informa...
[ { "from": "human", "value": "Check the Go package in the current directory via the `go-vet` command" }, { "from": "gpt", "value": "`go vet`" } ]
[ { "from": "human", "value": "Check the Go package in the specified path via the `go-vet` command" }, { "from": "gpt", "value": "`go vet {{path/to/file_or_directory}}`" } ]
[ { "from": "human", "value": "List available checks that can be run with go vet via the `go-vet` command" }, { "from": "gpt", "value": "`go tool vet help`" } ]
[ { "from": "human", "value": "View details and flags for a particular check via the `go-vet` command" }, { "from": "gpt", "value": "`go tool vet help {{check_name}}`" } ]
[ { "from": "human", "value": "Display offending lines plus `n` lines of surrounding context via the `go-vet` command" }, { "from": "gpt", "value": "`go vet -c={{n}}`" } ]
[ { "from": "human", "value": "Output analysis and errors in JSON format via the `go-vet` command" }, { "from": "gpt", "value": "`go vet -json`" } ]
[ { "from": "human", "value": "Tell me about `gow`." }, { "from": "gpt", "value": "Watches Go files and restarts the app on changes.\nMore information: <https://github.com/mitranim/gow>.\n" } ]
[ { "from": "human", "value": "Start and watch the current directory via the `gow` command" }, { "from": "gpt", "value": "`gow run .`" } ]
[ { "from": "human", "value": "Start the application with the specified arguments via the `gow` command" }, { "from": "gpt", "value": "`gow run . {{argument1 argument2 ...}}`" } ]
[ { "from": "human", "value": "Watch subdirectories in verbose mode via the `gow` command" }, { "from": "gpt", "value": "`gow -v -w={{path/to/directory1,path/to/directory2,...}} run .`" } ]
[ { "from": "human", "value": "Watch the specified file extensions via the `gow` command" }, { "from": "gpt", "value": "`gow -e={{go,html}} run .`" } ]
[ { "from": "human", "value": "Display help via the `gow` command" }, { "from": "gpt", "value": "`gow -h`" } ]
[ { "from": "human", "value": "Tell me about `gox`." }, { "from": "gpt", "value": "Cross-compile Go programs.\nMore information: <https://github.com/mitchellh/gox>.\n" } ]
[ { "from": "human", "value": "Compile Go program in the current directory for all operating systems and architecture combinations via the `gox` command" }, { "from": "gpt", "value": "`gox`" } ]
[ { "from": "human", "value": "Download and compile a Go program from a remote URL via the `gox` command" }, { "from": "gpt", "value": "`gox {{url_1}} {{url_2}}`" } ]
[ { "from": "human", "value": "Compile current directory for a particular operating system via the `gox` command" }, { "from": "gpt", "value": "`gox -os=\"{{os}}\"`" } ]
[ { "from": "human", "value": "Compile current directory for a single operating system and architecture combination via the `gox` command" }, { "from": "gpt", "value": "`gox -osarch=\"{{os}}/{{arch}}\"`" } ]
[ { "from": "human", "value": "Tell me about `gpg2`." }, { "from": "gpt", "value": "This command is an alias of `gpg`.\n" } ]
[ { "from": "human", "value": "View documentation for the original command via the `gpg2` command" }, { "from": "gpt", "value": "`tldr gpg`" } ]
[ { "from": "human", "value": "Tell me about `gpg-card`." }, { "from": "gpt", "value": "Administrate OpenPGP and PIV smart cards.\nSimilar to `gpg --card-edit`.\nMore information: <https://manned.org/gpg-card>.\n" } ]
[ { "from": "human", "value": "Start in interactive mode via the `gpg-card` command" }, { "from": "gpt", "value": "`gpg-card`" } ]
[ { "from": "human", "value": "Invoke one or more commands non-interactively via the `gpg-card` command" }, { "from": "gpt", "value": "`gpg-card {{command1}} -- {{command2}} -- {{command3}}`" } ]
[ { "from": "human", "value": "Show information about a smart card via the `gpg-card` command" }, { "from": "gpt", "value": "`gpg-card list`" } ]
[ { "from": "human", "value": "Retrieve the public key using the URL stored on an OpenPGP card via the `gpg-card` command" }, { "from": "gpt", "value": "`gpg-card fetch`" } ]
[ { "from": "human", "value": "Set the URL used by the `fetch` command via the `gpg-card` command" }, { "from": "gpt", "value": "`gpg-card url`" } ]