conversations
listlengths
2
2
[ { "from": "human", "value": "Choose a template interactively via the `pulumi-new` command" }, { "from": "gpt", "value": "`pulumi new`" } ]
[ { "from": "human", "value": "Create a project from a specific template (e.g `azure-python`) via the `pulumi-new` command" }, { "from": "gpt", "value": "`pulumi new {{provided-template}}`" } ]
[ { "from": "human", "value": "Create a project from a local file via the `pulumi-new` command" }, { "from": "gpt", "value": "`pulumi new {{path/to/templates/aws-typescript}}`" } ]
[ { "from": "human", "value": "Create a project from a Git repository via the `pulumi-new` command" }, { "from": "gpt", "value": "`pulumi new {{url}}`" } ]
[ { "from": "human", "value": "Use the specified secrets provider with the <pulumi.com> backend via the `pulumi-new` command" }, { "from": "gpt", "value": "`pulumi new --secrets-provider={{passphrase}}`" } ]
[ { "from": "human", "value": "Tell me about `pulumi preview`." }, { "from": "gpt", "value": "Show a preview of updates to a stack's resources.\nMore information: <https://www.pulumi.com/docs/iac/cli/commands/pulumi_preview/>.\n" } ]
[ { "from": "human", "value": "Show a preview of updates to a stack's resources via the `pulumi-preview` command" }, { "from": "gpt", "value": "`pulumi preview`" } ]
[ { "from": "human", "value": "Show a preview of updates to a stack's resources in JSON format via the `pulumi-preview` command" }, { "from": "gpt", "value": "`pulumi preview --json`" } ]
[ { "from": "human", "value": "Preview updates as a rich diff showing overall changes via the `pulumi-preview` command" }, { "from": "gpt", "value": "`pulumi preview --diff`" } ]
[ { "from": "human", "value": "Display help via the `pulumi-preview` command" }, { "from": "gpt", "value": "`pulumi preview --help`" } ]
[ { "from": "human", "value": "Tell me about `pulumi refresh`." }, { "from": "gpt", "value": "Refresh the resources in a stack.\nMore information: <https://www.pulumi.com/docs/iac/cli/commands/pulumi_refresh/>.\n" } ]
[ { "from": "human", "value": "Compare the current stack's state with the state in the cloud provider and adopt any changes into the current stack via the `pulumi-refresh` command" }, { "from": "gpt", "value": "`pulumi refresh`" } ]
[ { "from": "human", "value": "Refresh resources in the current stack and show the operation as a rich diff via the `pulumi-refresh` command" }, { "from": "gpt", "value": "`pulumi refresh --diff`" } ]
[ { "from": "human", "value": "Refresh resources in the current stack and return an error if any changes occur during the refresh via the `pulumi-refresh` command" }, { "from": "gpt", "value": "`pulumi refresh --expect-no-changes`" } ]
[ { "from": "human", "value": "Only show a preview of the refresh, but don't perform the refresh itself via the `pulumi-refresh` command" }, { "from": "gpt", "value": "`pulumi refresh --preview-only`" } ]
[ { "from": "human", "value": "The name of the stack to operate on (defaults to the current stack) via the `pulumi-refresh` command" }, { "from": "gpt", "value": "`pulumi refresh --stack {{stack_name}}`" } ]
[ { "from": "human", "value": "Display help via the `pulumi-refresh` command" }, { "from": "gpt", "value": "`pulumi refresh --help`" } ]
[ { "from": "human", "value": "Tell me about `pulumi stack`." }, { "from": "gpt", "value": "Manage stacks and view stack state.\nMore information: <https://www.pulumi.com/docs/iac/cli/commands/pulumi_stack/>.\n" } ]
[ { "from": "human", "value": "Create a new stack via the `pulumi-stack` command" }, { "from": "gpt", "value": "`pulumi stack init {{stack_name}}`" } ]
[ { "from": "human", "value": "Show the stack state along with resource URNs via the `pulumi-stack` command" }, { "from": "gpt", "value": "`pulumi stack --show-urns`" } ]
[ { "from": "human", "value": "List stacks in the current project via the `pulumi-stack` command" }, { "from": "gpt", "value": "`pulumi stack ls`" } ]
[ { "from": "human", "value": "List stacks across all projects via the `pulumi-stack` command" }, { "from": "gpt", "value": "`pulumi stack ls --all`" } ]
[ { "from": "human", "value": "Select an active stack via the `pulumi-stack` command" }, { "from": "gpt", "value": "`pulumi stack select {{stack_name}}`" } ]
[ { "from": "human", "value": "Delete a stack via the `pulumi-stack` command" }, { "from": "gpt", "value": "`pulumi stack rm {{stack_name}}`" } ]
[ { "from": "human", "value": "Show stack outputs, including secrets, in plaintext via the `pulumi-stack` command" }, { "from": "gpt", "value": "`pulumi stack output --show-secrets`" } ]
[ { "from": "human", "value": "Export the stack state to a JSON file via the `pulumi-stack` command" }, { "from": "gpt", "value": "`pulumi stack export --file {{path/to/file.json}}`" } ]
[ { "from": "human", "value": "Tell me about `pulumi state`." }, { "from": "gpt", "value": "Edit the current stack's state.\nMore information: <https://www.pulumi.com/docs/iac/cli/commands/pulumi_state/>.\n" } ]
[ { "from": "human", "value": "Delete a resource from the current stack's state via the `pulumi-state` command" }, { "from": "gpt", "value": "`pulumi state delete`" } ]
[ { "from": "human", "value": "Move a resource from the current stack to another via the `pulumi-state` command" }, { "from": "gpt", "value": "`pulumi state move {{resource_urn}} --dest {{stack_name}}`" } ]
[ { "from": "human", "value": "Rename a resource in the current stack's state via the `pulumi-state` command" }, { "from": "gpt", "value": "`pulumi state rename`" } ]
[ { "from": "human", "value": "Repair an invalid state via the `pulumi-state` command" }, { "from": "gpt", "value": "`pulumi state repair`" } ]
[ { "from": "human", "value": "Edit a stack's state in the editor specified by the `EDITOR` environment variable via the `pulumi-state` command" }, { "from": "gpt", "value": "`pulumi state edit --stack {{stack_name}}`" } ]
[ { "from": "human", "value": "Display help via the `pulumi-state` command" }, { "from": "gpt", "value": "`pulumi state --help`" } ]
[ { "from": "human", "value": "Tell me about `pulumi up`." }, { "from": "gpt", "value": "Create or update the resources in a stack.\nMore information: <https://www.pulumi.com/docs/iac/cli/commands/pulumi_up/>.\n" } ]
[ { "from": "human", "value": "Preview and deploy changes to a program and/or infrastructure via the `pulumi-up` command" }, { "from": "gpt", "value": "`pulumi up`" } ]
[ { "from": "human", "value": "Automatically approve and perform the update after previewing it via the `pulumi-up` command" }, { "from": "gpt", "value": "`pulumi up --yes`" } ]
[ { "from": "human", "value": "Preview and deploy changes in a specific stack via the `pulumi-up` command" }, { "from": "gpt", "value": "`pulumi up --stack {{stack}}`" } ]
[ { "from": "human", "value": "Don't display stack outputs via the `pulumi-up` command" }, { "from": "gpt", "value": "`pulumi up --suppress-outputs`" } ]
[ { "from": "human", "value": "Continue updating the resources, even if an error is encountered via the `pulumi-up` command" }, { "from": "gpt", "value": "`pulumi up --continue-on-error`" } ]
[ { "from": "human", "value": "Tell me about `pulumi version`." }, { "from": "gpt", "value": "Display Pulumi's version number.\nMore information: <https://www.pulumi.com/docs/iac/cli/commands/pulumi_version/>.\n" } ]
[ { "from": "human", "value": "Display version via the `pulumi-version` command" }, { "from": "gpt", "value": "`pulumi version`" } ]
[ { "from": "human", "value": "Display help via the `pulumi-version` command" }, { "from": "gpt", "value": "`pulumi version {{[-h|--help]}}`" } ]
[ { "from": "human", "value": "Tell me about `pulumi whoami`." }, { "from": "gpt", "value": "Print information about the currently logged in user.\nMore information: <https://www.pulumi.com/docs/iac/cli/commands/pulumi_whoami/>.\n" } ]
[ { "from": "human", "value": "Print the username of the currently logged in user via the `pulumi-whoami` command" }, { "from": "gpt", "value": "`pulumi whoami`" } ]
[ { "from": "human", "value": "Print detailed information about the currently logged in user via the `pulumi-whoami` command" }, { "from": "gpt", "value": "`pulumi whoami {{[-v|--verbose]}}`" } ]
[ { "from": "human", "value": "Print detailed information about the currently logged in user as JSON via the `pulumi-whoami` command" }, { "from": "gpt", "value": "`pulumi whoami {{[-j|--json]}}`" } ]
[ { "from": "human", "value": "Display help via the `pulumi-whoami` command" }, { "from": "gpt", "value": "`pulumi whoami {{[-h|--help]}}`" } ]
[ { "from": "human", "value": "Tell me about `pup`." }, { "from": "gpt", "value": "Command-line HTML parsing tool.\nMore information: <https://github.com/ericchiang/pup>.\n" } ]
[ { "from": "human", "value": "Transform a raw HTML file into a cleaned, indented, and colored format via the `pup` command" }, { "from": "gpt", "value": "`cat {{index.html}} | pup --color`" } ]
[ { "from": "human", "value": "Filter HTML by element tag name via the `pup` command" }, { "from": "gpt", "value": "`cat {{index.html}} | pup '{{tag}}'`" } ]
[ { "from": "human", "value": "Filter HTML by ID via the `pup` command" }, { "from": "gpt", "value": "`cat {{index.html}} | pup '{{div#id}}'`" } ]
[ { "from": "human", "value": "Filter HTML by attribute value via the `pup` command" }, { "from": "gpt", "value": "`cat {{index.html}} | pup '{{input[type=\"text\"]}}'`" } ]
[ { "from": "human", "value": "Print all text from the filtered HTML elements and their children via the `pup` command" }, { "from": "gpt", "value": "`cat {{index.html}} | pup '{{div}} text{}'`" } ]
[ { "from": "human", "value": "Print HTML as JSON via the `pup` command" }, { "from": "gpt", "value": "`cat {{index.html}} | pup '{{div}} json{}'`" } ]
[ { "from": "human", "value": "Tell me about `puppet agent`." }, { "from": "gpt", "value": "Retrieves the client configuration from a Puppet server and applies it to the local host.\nMore information: <https://puppet.com/docs/puppet/7/man/agent.html>.\n" } ]
[ { "from": "human", "value": "Register a node at a Puppet server and apply the received catalog via the `puppet-agent` command" }, { "from": "gpt", "value": "`puppet agent --test --server {{puppetserver_fqdn}} --serverport {{port}} --waitforcert {{poll_time}}`" } ]
[ { "from": "human", "value": "Run the agent in the background (uses settings from `puppet.conf`) via the `puppet-agent` command" }, { "from": "gpt", "value": "`puppet agent`" } ]
[ { "from": "human", "value": "Run the agent once in the foreground, then exit via the `puppet-agent` command" }, { "from": "gpt", "value": "`puppet agent --test`" } ]
[ { "from": "human", "value": "Run the agent in dry-mode via the `puppet-agent` command" }, { "from": "gpt", "value": "`puppet agent --test --noop`" } ]
[ { "from": "human", "value": "Log every resource being evaluated (even if nothing is being changed) via the `puppet-agent` command" }, { "from": "gpt", "value": "`puppet agent --test --evaltrace`" } ]
[ { "from": "human", "value": "Disable the agent via the `puppet-agent` command" }, { "from": "gpt", "value": "`puppet agent --disable \"{{message}}\"`" } ]
[ { "from": "human", "value": "Enable the agent via the `puppet-agent` command" }, { "from": "gpt", "value": "`puppet agent --enable`" } ]
[ { "from": "human", "value": "Tell me about `puppet apply`." }, { "from": "gpt", "value": "Apply Puppet manifests locally.\nMore information: <https://puppet.com/docs/puppet/7/man/apply.html>.\n" } ]
[ { "from": "human", "value": "Apply a manifest via the `puppet-apply` command" }, { "from": "gpt", "value": "`puppet apply {{path/to/manifest}}`" } ]
[ { "from": "human", "value": "Execute puppet code via the `puppet-apply` command" }, { "from": "gpt", "value": "`puppet apply --execute {{code}}`" } ]
[ { "from": "human", "value": "Use a specific module and hiera configuration file via the `puppet-apply` command" }, { "from": "gpt", "value": "`puppet apply --modulepath {{path/to/directory}} --hiera_config {{path/to/file}} {{path/to/manifest}}`" } ]
[ { "from": "human", "value": "Tell me about `puppet`." }, { "from": "gpt", "value": "Help to manage and automate the configuration of servers.\nSome subcommands such as `agent` have their own usage documentation.\nMore information: <https://puppet.com/>.\n" } ]
[ { "from": "human", "value": "Execute a Puppet subcommand via the `puppet` command" }, { "from": "gpt", "value": "`puppet {{subcommand}}`" } ]
[ { "from": "human", "value": "Check the Puppet version via the `puppet` command" }, { "from": "gpt", "value": "`puppet --version`" } ]
[ { "from": "human", "value": "Display help via the `puppet` command" }, { "from": "gpt", "value": "`puppet --help`" } ]
[ { "from": "human", "value": "Display help for a subcommand via the `puppet` command" }, { "from": "gpt", "value": "`puppet help {{subcommand}}`" } ]
[ { "from": "human", "value": "Tell me about `pushd`." }, { "from": "gpt", "value": "Place a directory on a stack so it can be accessed later.\nSee also `popd` to switch back to original directory and `dirs` to display directory stack contents.\nMore information: <https://www.gnu.org/software/bash...
[ { "from": "human", "value": "Switch to directory and push it on the stack via the `pushd` command" }, { "from": "gpt", "value": "`pushd {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Switch first and second directories on the stack via the `pushd` command" }, { "from": "gpt", "value": "`pushd`" } ]
[ { "from": "human", "value": "Rotate stack by making the 5th element the top of the stack via the `pushd` command" }, { "from": "gpt", "value": "`pushd +4`" } ]
[ { "from": "human", "value": "Rotate the stack 4 times to the left (the current directory stays at the top by replacing the 5th element) via the `pushd` command" }, { "from": "gpt", "value": "`pushd -n +4`" } ]
[ { "from": "human", "value": "Tell me about `pv`." }, { "from": "gpt", "value": "Monitor the progress of data through a pipe.\nMore information: <https://manned.org/pv>.\n" } ]
[ { "from": "human", "value": "Print the contents of the file and display a progress bar via the `pv` command" }, { "from": "gpt", "value": "`pv {{path/to/file}}`" } ]
[ { "from": "human", "value": "Measure the speed and amount of data flow between pipes (`--size` is optional) via the `pv` command" }, { "from": "gpt", "value": "`command1 | pv --size {{expected_amount_of_data_for_eta}} | command2`" } ]
[ { "from": "human", "value": "Filter a file, see both progress and amount of output data via the `pv` command" }, { "from": "gpt", "value": "`pv -cN in {{big_text_file}} | grep {{pattern}} | pv -cN out > {{filtered_file}}`" } ]
[ { "from": "human", "value": "Attach to an already running process and see its file reading progress via the `pv` command" }, { "from": "gpt", "value": "`pv -d {{PID}}`" } ]
[ { "from": "human", "value": "Read an erroneous file, skip errors as `dd conv=sync,noerror` would via the `pv` command" }, { "from": "gpt", "value": "`pv -EE {{path/to/faulty_media}} > image.img`" } ]
[ { "from": "human", "value": "Stop reading after reading specified amount of data, rate limit to 1K/s via the `pv` command" }, { "from": "gpt", "value": "`pv -L 1K --stop-at --size {{maximum_file_size_to_be_read}}`" } ]
[ { "from": "human", "value": "Tell me about `pwd`." }, { "from": "gpt", "value": "Print the name of current/working directory.\nMore information: <https://www.gnu.org/software/coreutils/manual/html_node/pwd-invocation.html>.\n" } ]
[ { "from": "human", "value": "Print the current directory via the `pwd` command" }, { "from": "gpt", "value": "`pwd`" } ]
[ { "from": "human", "value": "Print the current directory, and resolve all symlinks (i.e. show the \"physical\" path) via the `pwd` command" }, { "from": "gpt", "value": "`pwd {{[-P|--physical]}}`" } ]
[ { "from": "human", "value": "Display help via the `pwd` command" }, { "from": "gpt", "value": "`pwd --help`" } ]
[ { "from": "human", "value": "Tell me about `pwgen`." }, { "from": "gpt", "value": "Generate pronounceable passwords.\nMore information: <https://manned.org/pwgen>.\n" } ]
[ { "from": "human", "value": "Generate random password with symbols via the `pwgen` command" }, { "from": "gpt", "value": "`pwgen {{[-y|--symbols]}} {{length}}`" } ]
[ { "from": "human", "value": "Generate secure, hard-to-memorize passwords via the `pwgen` command" }, { "from": "gpt", "value": "`pwgen {{[-s|--secure]}} {{length}}`" } ]
[ { "from": "human", "value": "Generate password with at least one capital letter in them via the `pwgen` command" }, { "from": "gpt", "value": "`pwgen {{[-c|--capitalize]}} {{length}}`" } ]
[ { "from": "human", "value": "Tell me about `pwsh`." }, { "from": "gpt", "value": "Command-line shell and scripting language designed especially for system administration.\nThis command refers to PowerShell version 6 and above (also known as PowerShell Core and cross-platform PowerShell).\nTo use...
[ { "from": "human", "value": "Start an interactive shell session via the `pwsh` command" }, { "from": "gpt", "value": "`pwsh`" } ]
[ { "from": "human", "value": "Start an interactive shell session without loading startup configs via the `pwsh` command" }, { "from": "gpt", "value": "`pwsh -NoProfile`" } ]
[ { "from": "human", "value": "Execute specific commands via the `pwsh` command" }, { "from": "gpt", "value": "`pwsh -Command \"{{echo 'powershell is executed'}}\"`" } ]
[ { "from": "human", "value": "Execute a specific script via the `pwsh` command" }, { "from": "gpt", "value": "`pwsh -File {{path/to/script.ps1}}`" } ]
[ { "from": "human", "value": "Start a session with a specific version of PowerShell via the `pwsh` command" }, { "from": "gpt", "value": "`pwsh -Version {{version}}`" } ]
[ { "from": "human", "value": "Prevent a shell from exit after running startup commands via the `pwsh` command" }, { "from": "gpt", "value": "`pwsh -NoExit`" } ]
[ { "from": "human", "value": "Describe the format of data sent to PowerShell via the `pwsh` command" }, { "from": "gpt", "value": "`pwsh -InputFormat {{Text|XML}}`" } ]
[ { "from": "human", "value": "Determine how an output from PowerShell is formatted via the `pwsh` command" }, { "from": "gpt", "value": "`pwsh -OutputFormat {{Text|XML}}`" } ]