conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Launch the default shell as the specified user, loading the user's environment and reading login-specific files (`.profile`, `.bash_profile`, etc.) via the `sudo` command"
},
{
"from": "gpt",
"value": "`sudo {{[-i|--login]}} {{[-u|--user]}} {{user}}`"
}
] |
[
{
"from": "human",
"value": "List the allowed (and forbidden) commands for the invoking user via the `sudo` command"
},
{
"from": "gpt",
"value": "`sudo {{[-l|--list]}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `sui client faucet`."
},
{
"from": "gpt",
"value": "Interact with the Sui faucet.\nMore information: <https://docs.sui.io/references/cli/client#request-a-sui-coin-from-faucet>.\n"
}
] |
[
{
"from": "human",
"value": "Get a SUI coin from the faucet associated with the active network via the `sui-client-faucet` command"
},
{
"from": "gpt",
"value": "`sui client faucet`"
}
] |
[
{
"from": "human",
"value": "Get a SUI coin for the address (accepts also an alias) via the `sui-client-faucet` command"
},
{
"from": "gpt",
"value": "`sui client faucet --address {{address}}`"
}
] |
[
{
"from": "human",
"value": "Get a SUI coin from custom faucet via the `sui-client-faucet` command"
},
{
"from": "gpt",
"value": "`sui client faucet --url {{custom-faucet-url}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `sui client`."
},
{
"from": "gpt",
"value": "Publish smart contracts, get object information, execute transactions, and more.\nMore information: <https://docs.sui.io/references/cli/client>.\n"
}
] |
[
{
"from": "human",
"value": "Create a new address with the ED25519 scheme via the `sui-client` command"
},
{
"from": "gpt",
"value": "`sui client new-address ed25519 {{address-alias}}`"
}
] |
[
{
"from": "human",
"value": "Create a new testnet environment with an RPC URL and alias via the `sui-client` command"
},
{
"from": "gpt",
"value": "`sui client new-env --rpc https://fullnode.testnet.sui.io:443 --alias testnet`"
}
] |
[
{
"from": "human",
"value": "Switch to the address of your choice (accepts also an alias) via the `sui-client` command"
},
{
"from": "gpt",
"value": "`sui client switch --address {{address-alias}}`"
}
] |
[
{
"from": "human",
"value": "Switch to the given environment via the `sui-client` command"
},
{
"from": "gpt",
"value": "`sui client switch --env {{env-alias}}`"
}
] |
[
{
"from": "human",
"value": "Publish a smart contract via the `sui-client` command"
},
{
"from": "gpt",
"value": "`sui client publish {{package-path}}`"
}
] |
[
{
"from": "human",
"value": "Interact with the Sui faucet via the `sui-client` command"
},
{
"from": "gpt",
"value": "`sui client faucet {{subcommand}}`"
}
] |
[
{
"from": "human",
"value": "List the gas coins for the given address (accepts also an alias) via the `sui-client` command"
},
{
"from": "gpt",
"value": "`sui client gas {{address}}`"
}
] |
[
{
"from": "human",
"value": "Create, sign, and execute programmable transaction blocks via the `sui-client` command"
},
{
"from": "gpt",
"value": "`sui client ptb {{options}} {{subcommand}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `sui client ptb`."
},
{
"from": "gpt",
"value": "Create, sign and execute programmable transaction blocks.\nMore information: <https://docs.sui.io/references/cli/ptb>.\n"
}
] |
[
{
"from": "human",
"value": "Call a Move function from a package and module via the `sui-client-ptb` command"
},
{
"from": "gpt",
"value": "`sui client ptb --move-call p::m::f \"<{{type}}>\" args`"
}
] |
[
{
"from": "human",
"value": "Make a Move vector with two elements of type u64 via the `sui-client-ptb` command"
},
{
"from": "gpt",
"value": "`sui client ptb --make-move-vec \"<u64>\" \"[1000,2000]\"`"
}
] |
[
{
"from": "human",
"value": "Split a gas coin and transfer it to address via the `sui-client-ptb` command"
},
{
"from": "gpt",
"value": "`sui client ptb --split-coins gas \"[1000]\" --assign new_coins --transfer-objects \"[new_coins]\" @{{address}}`"
}
] |
[
{
"from": "human",
"value": "Transfer an object to an address via the `sui-client-ptb` command"
},
{
"from": "gpt",
"value": "`sui client ptb --transfer-objects \"[{{object_id}}]\" @{{address}}`"
}
] |
[
{
"from": "human",
"value": "Publish a Move package, and transfer the upgrade capability to sender via the `sui-client-ptb` command"
},
{
"from": "gpt",
"value": "`sui client ptb --move-call sui::tx_context::sender --assign sender --publish \".\" --assign upgrade_cap --transfer-objects \"[upgrad... |
[
{
"from": "human",
"value": "Tell me about `sui`."
},
{
"from": "gpt",
"value": "Interact with the Sui network.\nMore information: <https://docs.sui.io/references/cli/cheatsheet>.\n"
}
] |
[
{
"from": "human",
"value": "Execute a Sui subcommand via the `sui` command"
},
{
"from": "gpt",
"value": "`sui {{subcommand}}`"
}
] |
[
{
"from": "human",
"value": "Build tools for a smart contract via the `sui` command"
},
{
"from": "gpt",
"value": "`sui move {{subcommand}}`"
}
] |
[
{
"from": "human",
"value": "Publish smart contracts, get object information, execute transactions and more via the `sui` command"
},
{
"from": "gpt",
"value": "`sui client {{subcommand}}`"
}
] |
[
{
"from": "human",
"value": "Start a local network via the `sui` command"
},
{
"from": "gpt",
"value": "`sui start`"
}
] |
[
{
"from": "human",
"value": "Update from source via the `sui` command"
},
{
"from": "gpt",
"value": "`cargo install --locked --git https://github.com/MystenLabs/sui.git --branch testnet sui`"
}
] |
[
{
"from": "human",
"value": "Tell me about `sui move`."
},
{
"from": "gpt",
"value": "Work with Move source code.\nMore information: <https://docs.sui.io/references/cli/move>.\n"
}
] |
[
{
"from": "human",
"value": "Create a new Move project in the given folder via the `sui-move` command"
},
{
"from": "gpt",
"value": "`sui move new {{project_name}}`"
}
] |
[
{
"from": "human",
"value": "Test the Move project in the current directory via the `sui-move` command"
},
{
"from": "gpt",
"value": "`sui move test`"
}
] |
[
{
"from": "human",
"value": "Test with coverage and get a summary via the `sui-move` command"
},
{
"from": "gpt",
"value": "`sui move test --coverage; sui move coverage summary`"
}
] |
[
{
"from": "human",
"value": "Find which parts of your code are covered from tests (i.e. explain coverage results) via the `sui-move` command"
},
{
"from": "gpt",
"value": "`sui move coverage source --module {{module_name}}`"
}
] |
[
{
"from": "human",
"value": "Build the Move project in the current directory via the `sui-move` command"
},
{
"from": "gpt",
"value": "`sui move build`"
}
] |
[
{
"from": "human",
"value": "Build the Move project from the given path via the `sui-move` command"
},
{
"from": "gpt",
"value": "`sui move build --path {{path}}`"
}
] |
[
{
"from": "human",
"value": "Migrate to Move 2024 for the package at the provided path via the `sui-move` command"
},
{
"from": "gpt",
"value": "`sui move migrate {{path}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `sum`."
},
{
"from": "gpt",
"value": "Compute checksums and the number of blocks for a file.\nA predecessor to the more modern `cksum`.\nMore information: <https://www.gnu.org/software/coreutils/manual/html_node/sum-invocation.html>.\n"
}
] |
[
{
"from": "human",
"value": "Compute a checksum with BSD-compatible algorithm and 1024-byte blocks via the `sum` command"
},
{
"from": "gpt",
"value": "`sum {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Compute a checksum with System V-compatible algorithm and 512-byte blocks via the `sum` command"
},
{
"from": "gpt",
"value": "`sum {{[-s|--sysv]}} {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `sunicontopnm`."
},
{
"from": "gpt",
"value": "Convert a Sun icon into a Netpbm image.\nMore information: <https://netpbm.sourceforge.net/doc/sunicontopnm.html>.\n"
}
] |
[
{
"from": "human",
"value": "Convert a Sun icon into a Netpbm image via the `sunicontopnm` command"
},
{
"from": "gpt",
"value": "`sunicontopnm {{path/to/input.ico}} > {{path/to/output.pbm}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `supervisorctl`."
},
{
"from": "gpt",
"value": "Supervisor is a client/server system that allows its users to control a number of processes on UNIX-like operating systems.\nSupervisorctl is the command-line client piece of the supervisor which provides ... |
[
{
"from": "human",
"value": "Show the status of a process (or all processes if `process_name` is not specified) via the `supervisorctl` command"
},
{
"from": "gpt",
"value": "`supervisorctl status {{process_name}}`"
}
] |
[
{
"from": "human",
"value": "Start/stop/restart a process via the `supervisorctl` command"
},
{
"from": "gpt",
"value": "`supervisorctl {{start|stop|restart}} {{process_name}}`"
}
] |
[
{
"from": "human",
"value": "Start/stop/restart all processes in a group via the `supervisorctl` command"
},
{
"from": "gpt",
"value": "`supervisorctl {{start|stop|restart}} {{group_name}}:*`"
}
] |
[
{
"from": "human",
"value": "Show last 100 bytes of process `stderr` via the `supervisorctl` command"
},
{
"from": "gpt",
"value": "`supervisorctl tail -100 {{process_name}} stderr`"
}
] |
[
{
"from": "human",
"value": "Keep displaying `stdout` of a process via the `supervisorctl` command"
},
{
"from": "gpt",
"value": "`supervisorctl tail -f {{process_name}} stdout`"
}
] |
[
{
"from": "human",
"value": "Reload process configuration file to add/remove processes as necessary via the `supervisorctl` command"
},
{
"from": "gpt",
"value": "`supervisorctl update`"
}
] |
[
{
"from": "human",
"value": "Tell me about `supervisord`."
},
{
"from": "gpt",
"value": "Supervisor is a client/server system for controlling some processes on UNIX-like operating systems.\nSupervisord is the server part of supervisor; it is primarily managed via a configuration file.\nMore info... |
[
{
"from": "human",
"value": "Start `supervisord` with specified configuration file via the `supervisord` command"
},
{
"from": "gpt",
"value": "`supervisord -c {{path/to/file}}`"
}
] |
[
{
"from": "human",
"value": "Run supervisord in the foreground via the `supervisord` command"
},
{
"from": "gpt",
"value": "`supervisord -n`"
}
] |
[
{
"from": "human",
"value": "Tell me about `sup`."
},
{
"from": "gpt",
"value": "Manage a RSS feed in the current directory.\nSee also: `lb`.\nMore information: <https://github.com/LukeSmithxyz/lb>.\n"
}
] |
[
{
"from": "human",
"value": "Add an article to the RSS feed via the `sup` command"
},
{
"from": "gpt",
"value": "`sup {{path/to/file.html}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `surfraw`."
},
{
"from": "gpt",
"value": "Query a variety of web search engines.\nConsists of a collection of elvi, each of which knows how to search a website.\nMore information: <http://surfraw.org>.\n"
}
] |
[
{
"from": "human",
"value": "Display the list of supported website search scripts (elvi) via the `surfraw` command"
},
{
"from": "gpt",
"value": "`surfraw -elvi`"
}
] |
[
{
"from": "human",
"value": "Open the elvi's results page for a specific search in the browser via the `surfraw` command"
},
{
"from": "gpt",
"value": "`surfraw {{elvi}} \"{{search_terms}}\"`"
}
] |
[
{
"from": "human",
"value": "Display an elvi description and its specific options via the `surfraw` command"
},
{
"from": "gpt",
"value": "`surfraw {{elvi}} -local-help`"
}
] |
[
{
"from": "human",
"value": "Search using an elvi with specific options and open the results page in the browser via the `surfraw` command"
},
{
"from": "gpt",
"value": "`surfraw {{elvi}} {{elvi_options}} \"{{search_terms}}\"`"
}
] |
[
{
"from": "human",
"value": "Display the URL to the elvi's results page for a specific search via the `surfraw` command"
},
{
"from": "gpt",
"value": "`surfraw -print {{elvi}} \"{{search_terms}}\"`"
}
] |
[
{
"from": "human",
"value": "Search using the alias via the `surfraw` command"
},
{
"from": "gpt",
"value": "`sr {{elvi}} \"{{search_terms}}\"`"
}
] |
[
{
"from": "human",
"value": "Tell me about `surge`."
},
{
"from": "gpt",
"value": "Simple web publishing.\nMore information: <https://surge.sh>.\n"
}
] |
[
{
"from": "human",
"value": "Upload a new site to surge.sh via the `surge` command"
},
{
"from": "gpt",
"value": "`surge {{path/to/my_project}}`"
}
] |
[
{
"from": "human",
"value": "Deploy site to custom domain (note that the DNS records must point to the surge.sh subdomain) via the `surge` command"
},
{
"from": "gpt",
"value": "`surge {{path/to/my_project}} {{my_custom_domain.com}}`"
}
] |
[
{
"from": "human",
"value": "List your surge projects via the `surge` command"
},
{
"from": "gpt",
"value": "`surge list`"
}
] |
[
{
"from": "human",
"value": "Remove a project via the `surge` command"
},
{
"from": "gpt",
"value": "`surge teardown {{my_custom_domain.com}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `suspend`."
},
{
"from": "gpt",
"value": "Suspend the execution of the current shell.\nMore information: <https://www.gnu.org/software/bash/manual/bash.html#index-suspend>.\n"
}
] |
[
{
"from": "human",
"value": "Suspend the current shell (useful for when you are in nested shells like `su`) via the `suspend` command"
},
{
"from": "gpt",
"value": "`{{bash}} <Enter> suspend`"
}
] |
[
{
"from": "human",
"value": "Continue from suspension if `suspend` was used in a non-nested shell (run this in a separate terminal) via the `suspend` command"
},
{
"from": "gpt",
"value": "`pkill -CONT bash`"
}
] |
[
{
"from": "human",
"value": "Force suspension even if this would lock you out of the system via the `suspend` command"
},
{
"from": "gpt",
"value": "`suspend -f`"
}
] |
[
{
"from": "human",
"value": "Tell me about `svgcleaner`."
},
{
"from": "gpt",
"value": "SVG optimizing utility.\nMore information: <https://github.com/RazrFalcon/svgcleaner>.\n"
}
] |
[
{
"from": "human",
"value": "Optimize an SVG via the `svgcleaner` command"
},
{
"from": "gpt",
"value": "`svgcleaner {{input.svg}} {{output.svg}}`"
}
] |
[
{
"from": "human",
"value": "Optimize an SVG multiple times via the `svgcleaner` command"
},
{
"from": "gpt",
"value": "`svgcleaner --multipass {{input.svg}} {{output.svg}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `svgo`."
},
{
"from": "gpt",
"value": "SVG Optimizer: optimizing Scalable Vector Graphics files. Based in Node.js.\nIt applies a series of transformation rules (plugins), which can be toggled individually.\nMore information: <https://github.com/svg/svgo... |
[
{
"from": "human",
"value": "Optimize a file using the default plugins (overwrites the original file) via the `svgo` command"
},
{
"from": "gpt",
"value": "`svgo {{test.svg}}`"
}
] |
[
{
"from": "human",
"value": "Optimize a file and save the result to another file via the `svgo` command"
},
{
"from": "gpt",
"value": "`svgo {{test.svg}} -o {{test.min.svg}}`"
}
] |
[
{
"from": "human",
"value": "Optimize all SVG files within a directory (overwrites the original files) via the `svgo` command"
},
{
"from": "gpt",
"value": "`svgo -f {{path/to/directory/with/svg/files}}`"
}
] |
[
{
"from": "human",
"value": "Optimize all SVG files within a directory and save the resulting files to another directory via the `svgo` command"
},
{
"from": "gpt",
"value": "`svgo -f {{path/to/input/directory}} -o {{path/to/output/directory}}`"
}
] |
[
{
"from": "human",
"value": "Optimize SVG content passed from another command, and save the result to a file via the `svgo` command"
},
{
"from": "gpt",
"value": "`{{cat test.svg}} | svgo -i - -o {{test.min.svg}}`"
}
] |
[
{
"from": "human",
"value": "Optimize a file and print out the result via the `svgo` command"
},
{
"from": "gpt",
"value": "`svgo {{test.svg}} -o -`"
}
] |
[
{
"from": "human",
"value": "Show available plugins via the `svgo` command"
},
{
"from": "gpt",
"value": "`svgo --show-plugins`"
}
] |
[
{
"from": "human",
"value": "Tell me about `svgr`."
},
{
"from": "gpt",
"value": "Transform SVGs into React components.\nMore information: <https://react-svgr.com>.\n"
}
] |
[
{
"from": "human",
"value": "Transform a SVG file into a React component to `stdout` via the `svgr` command"
},
{
"from": "gpt",
"value": "`svgr -- {{path/to/file.svg}}`"
}
] |
[
{
"from": "human",
"value": "Transform a SVG file into a React component using TypeScript to `stdout` via the `svgr` command"
},
{
"from": "gpt",
"value": "`svgr --typescript -- {{path/to/file.svg}}`"
}
] |
[
{
"from": "human",
"value": "Transform a SVG file into a React component using JSX transform to `stdout` via the `svgr` command"
},
{
"from": "gpt",
"value": "`svgr --jsx-runtime automatic -- {{path/to/file.svg}}`"
}
] |
[
{
"from": "human",
"value": "Transform all SVG files from a directory to React components into a specific directory via the `svgr` command"
},
{
"from": "gpt",
"value": "`svgr --out-dir {{path/to/output_directory}} {{path/to/input_directory}}`"
}
] |
[
{
"from": "human",
"value": "Transform all SVG files from a directory to React components into a specific directory skipping already transformed files via the `svgr` command"
},
{
"from": "gpt",
"value": "`svgr --out-dir {{path/to/output_directory}} --ignore-existing {{path/to/input_directory}}`... |
[
{
"from": "human",
"value": "Transform all SVG files from a directory to React components into a specific directory using a specific case for filenames via the `svgr` command"
},
{
"from": "gpt",
"value": "`svgr --out-dir {{path/to/output_directory}} --filename-case {{camel|kebab|pascal}} {{path... |
[
{
"from": "human",
"value": "Transform all SVG files from a directory to React components into a specific directory without generating an index file via the `svgr` command"
},
{
"from": "gpt",
"value": "`svgr --out-dir {{path/to/output_directory}} --no-index {{path/to/input_directory}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `svgtopam`."
},
{
"from": "gpt",
"value": "Convert an SVG file to Netpbm format.\nMore information: <https://netpbm.sourceforge.net/doc/svgtopam.html>.\n"
}
] |
[
{
"from": "human",
"value": "Convert an SVG file to Netpbm format via the `svgtopam` command"
},
{
"from": "gpt",
"value": "`svgtopam {{path/to/file.svg}} > {{path/to/output.pam}}`"
}
] |
[
{
"from": "human",
"value": "Emit textual output describing the input image via the `svgtopam` command"
},
{
"from": "gpt",
"value": "`svgtopam {{[-t|-trace]}} {{path/to/file.svg}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `sv`."
},
{
"from": "gpt",
"value": "Control a running runsv service.\nMore information: <https://manned.org/sv.8>.\n"
}
] |
[
{
"from": "human",
"value": "Start a service via the `sv` command"
},
{
"from": "gpt",
"value": "`sudo sv up {{path/to/service}}`"
}
] |
[
{
"from": "human",
"value": "Stop a service via the `sv` command"
},
{
"from": "gpt",
"value": "`sudo sv down {{path/to/service}}`"
}
] |
[
{
"from": "human",
"value": "Get service status via the `sv` command"
},
{
"from": "gpt",
"value": "`sudo sv status {{path/to/service}}`"
}
] |
[
{
"from": "human",
"value": "Reload a service via the `sv` command"
},
{
"from": "gpt",
"value": "`sudo sv reload {{path/to/service}}`"
}
] |
[
{
"from": "human",
"value": "Start a service, but only if it's not running and don't restart it if it stops via the `sv` command"
},
{
"from": "gpt",
"value": "`sudo sv once {{path/to/service}}`"
}
] |
[
{
"from": "human",
"value": "Tell me about `svn changelist`."
},
{
"from": "gpt",
"value": "Associate a changelist with a set of files.\nMore information: <https://svnbook.red-bean.com/en/1.7/svn.advanced.changelists.html>.\n"
}
] |
[
{
"from": "human",
"value": "Add files to a changelist, creating the changelist if it does not exist via the `svn-changelist` command"
},
{
"from": "gpt",
"value": "`svn changelist {{changelist_name}} {{path/to/file1}} {{path/to/file2}}`"
}
] |
[
{
"from": "human",
"value": "Remove files from a changelist via the `svn-changelist` command"
},
{
"from": "gpt",
"value": "`svn changelist --remove {{path/to/file1}} {{path/to/file2}}`"
}
] |
[
{
"from": "human",
"value": "Remove the whole changelist at once via the `svn-changelist` command"
},
{
"from": "gpt",
"value": "`svn changelist --remove --recursive --changelist {{changelist_name}} .`"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.