mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-03 20:55:14 +00:00
Update cheatsheets
This commit is contained in:
33
tldr/oneliner
Normal file
33
tldr/oneliner
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# oneliner
|
||||
|
||||
> Turn plain English into shell commands using OpenAI, Claude, or local LLMs, designed to teach, not replace your knowledge.
|
||||
> More information: <https://github.com/dorochadev/oneliner#-usage-flags>.
|
||||
|
||||
- Generate a shell command from plain English:
|
||||
|
||||
`oneliner "{{find all jpg files larger than 10MB}}"`
|
||||
|
||||
- Explain what a command does:
|
||||
|
||||
`oneliner {{[-e|--explain]}} "{{delete node_modules recursively}}"`
|
||||
|
||||
- Copy a generated command to the clipboard:
|
||||
|
||||
`oneliner {{[-c|--clipboard]}} "{{compress all pdfs}}"`
|
||||
|
||||
- Show a detailed, educational breakdown of a command:
|
||||
|
||||
`oneliner {{[-b|--breakdown]}} "{{list all active network connections}}"`
|
||||
|
||||
- Execute a generated command (use with caution):
|
||||
|
||||
`oneliner {{[-r|--run]}} "{{list files larger than 1GB}}"`
|
||||
|
||||
- Interactively confirm before executing a generated command:
|
||||
|
||||
`oneliner {{[-i|--interactive]}} "{{delete temporary files in /tmp}}"`
|
||||
Reference in New Issue
Block a user