terminal-smart-cli 0.87.0 → 0.88.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/core.js +1 -0
- package/package.json +1 -1
package/lib/core.js
CHANGED
|
@@ -45,6 +45,7 @@ const _DESTR_DESC = [
|
|
|
45
45
|
[/\bmkfs\b|\bdd\s+if=|(?:^|[\s&;|])format\s+[a-z]:|\bdiskpart\b|>\s?\/dev\/sd/i, ['formatar ou sobrescrever um disco', 'format or overwrite a disk']],
|
|
46
46
|
[/\bDROP\s+DATABASE\b/i, ['apagar um banco de dados INTEIRO', 'delete an ENTIRE database']],
|
|
47
47
|
[/\bDROP\s+TABLE\b/i, ['apagar uma tabela do banco', 'delete a database table']],
|
|
48
|
+
[/\btruncate\s+-/i, ['zerar ou reduzir um arquivo', 'empty or shrink a file']], // comando shell (truncate -s) — ANTES do SQL
|
|
48
49
|
[/\bTRUNCATE\b/i, ['esvaziar uma tabela do banco', 'empty a database table']],
|
|
49
50
|
[/\bDELETE\s+FROM\b/i, ['apagar registros de uma tabela', 'delete rows from a table']],
|
|
50
51
|
[/\bALTER\s+USER\b[^;]*IDENTIFIED|(\bSET\s+PASSWORD|GRANT\s+ALL\s+PRIVILEGES)\b/i, ['mudar credenciais/permissões do banco (afeta tudo que usa esse acesso)', "change DB credentials/permissions (affects everything using that access)"]],
|