Skip to content

Commit 247549d

Browse files
author
Dan
committed
fix: examples in --help indent & ignore warp.md file
1 parent d7e3d50 commit 247549d

File tree

2 files changed

+21
-12
lines changed

2 files changed

+21
-12
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ wheels/
1212
# UV cache
1313
.uv
1414

15+
# Warp
16+
WARP.md
17+
1518
# Ruff cache
1619
.ruff_cache
1720

cryptic/cli/main.py

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,12 @@ def analyze(data: str, detailed: bool, format: str) -> None:
124124
Analizar una entrada individual de datos.
125125
126126
Ejemplos:
127-
\b
128-
cryptic analyze "juan.perez@empresa.cl"
129-
cryptic analyze "12.345.678-5" --detailed
130-
cryptic analyze "4111-1111-1111-1111" --format json
127+
128+
$ cryptic analyze "juan.perez@empresa.cl"
129+
130+
$ cryptic analyze "12.345.678-5" --detailed
131+
132+
$ cryptic analyze "4111-1111-1111-1111" --format json
131133
"""
132134
print_colored(f"\n🔍 Analizando: {data}", Colors.CYAN, bold=True)
133135
print_colored("=" * 60, Colors.CYAN)
@@ -202,10 +204,12 @@ def verify(file_path: Path, column: Optional[str], detailed: bool, output: Optio
202204
Soporta archivos de texto plano y CSV.
203205
204206
Ejemplos:
205-
\b
206-
cryptic verify datos.csv --column=email
207-
cryptic verify usuarios.csv --output=reporte.json --format json
208-
cryptic verify passwords.txt --detailed
207+
208+
$ cryptic verify datos.csv --column=email
209+
210+
$ cryptic verify usuarios.csv --output=reporte.json --format json
211+
212+
$ cryptic verify passwords.txt --detailed
209213
"""
210214
print_colored(f"\n🔍 Verificando archivo: {file_path.name}", Colors.CYAN, bold=True)
211215
print_colored("=" * 60, Colors.CYAN)
@@ -300,10 +304,12 @@ def batch(file_path: Path, output: Path, format: str, column: Optional[str]) ->
300304
Optimizado para archivos grandes con reporte detallado.
301305
302306
Ejemplos:
303-
\b
304-
cryptic batch datos.csv --output=reporte.json
305-
cryptic batch usuarios.csv --output=analisis.yaml --format yaml
306-
cryptic batch passwords.csv --column=password --output=resultados.csv --format csv
307+
308+
$ cryptic batch datos.csv --output=reporte.json
309+
310+
$ cryptic batch usuarios.csv --output=analisis.yaml --format yaml
311+
312+
$ cryptic batch passwords.csv --column=password --output=resultados.csv --format csv
307313
"""
308314
print_colored(f"\n🚀 Procesando en lote: {file_path.name}", Colors.CYAN, bold=True)
309315
print_colored("=" * 60, Colors.CYAN)

0 commit comments

Comments
 (0)