COMMANDS.md
March 17, 2024 ยท View on GitHub
Commands
Following are the currently available commands for gpg-tui. See README.md for more information.
| Command | Syntax | Example(s) |
|---|---|---|
| Confirm the execution of a command | :confirm <other_command> | :confirm list pub |
| Show the help menu | :help | - |
| Show a message | :out <type> <msg> | :out success hey:out warning !!!:out failure error:out action done |
| Show the options menu | :options | - |
| List public/secret keys | :list <key_type> | :list pub:list sec |
| Import/receive key(s) | :import <key_path>.. / :import-clipboard :receive <key_id>.. | :import key1.asc key2.asc:import-clipboard:receive 0x00 |
| Export key(s) | :export <key_type> <query> (subkey) | :export pub 0x00:export sec orhun |
| Delete key | :delete <key_type> <key_id> | :delete pub 0x00 |
| Send key | :send <key_id> | :send 0x00 |
| Edit key | :edit <key_id> | :edit 0x00 |
| Sign key | :sign <key_id> | :sign <key_id> |
| Generate key | :generate | - |
| Switch to copy mode | :copy | - |
| Copy values to clipboard | :copy <copy_type> | :copy row1:copy row2:copy key:copy key_id:copy key_fingerprint:copy key_user_id |
| Toggle detail | :toggle (detail) (all) | :toggle:toggle detail:toggle detail all |
| Scroll | :scroll (row) <direction> <amount> | :scroll down 1:scroll up 5:scroll row down 2 |
| Set value | :set <option> <value> | :set output /tmp:set mode normal:set armor true:set minimize 10:set detail full:set margin 2:set style plain:set color #123123:set signer 0x00 |
| Get value | :get <option> | :get output:get mode:get armor:get minimize:get detail:get margin:get style:get color:get signer |
| Change style | :style <style> | :style plain:style colored |
| Switch mode | :mode <mode> | :mode normal:mode visual:mode copy |
| Switch to normal mode | :normal | - |
| Switch to visual mode | :visual | - |
| Paste from clipboard | :paste | - |
| Enable command input | :input | - |
| Enable search | :search | - |
| Go to the next tab | :next | - |
| Go to the previous tab | :previous | - |
| Refresh the application | :refresh | - |
| Refresh the keyring | :refresh keys | - |
| Show logs | :logs | - |
| Quit the application | :quit | - |
| Do nothing | :none | - |