Skip to main content

Referência CLI

Synopsis

zshcheck [OPTIONS] FILES...

Opções

--include, -i

Whitelist de checks a executar.

zshcheck --include ZC1001 --include ZC2001 script.zsh

--exclude, -e

Blacklist de checks a ignorar.

zshcheck --exclude ZC5001 script.zsh

--format, -f

Formato de saída. Padrão: table.

zshcheck --format json script.zsh
zshcheck --format compact script.zsh

Valores possíveis: table, json, compact

--max-severity, -s

Severidade mínima a exibir. Padrão: style.

zshcheck --max-severity error script.zsh

Valores possíveis: error, warning, info, style

--list-checks

Lista todos os checks disponíveis.

zshcheck --list-checks

--fix, -F

Ativa correção automática de problemas.

zshcheck script.zsh --fix

Códigos de Retorno

CódigoSignificado
0Sucesso
1Erros encontrados