Skip to main content

Module output

Module output 

Source

Functions§

confirmar_clear
Asks for interactive confirmation before clearing all keys.
emitir_ndjson
Emite um evento NDJSON (uma linha JSON) para stdout.
exibir_aviso_formato_chave
Displays a warning when the key does not match the expected ctx7sk- format.
exibir_bibliotecas_formatado
Prints the list of libraries returned by the search endpoint.
exibir_caminho_config
Prints a file path to stdout.
exibir_chave_adicionada
Prints the success message for keys add.
exibir_chave_exportada
Prints a key in CONTEXT7_API=<value> format to stdout.
exibir_chave_invalida_vazia
Displays an error when the user tries to add an empty API key.
exibir_chave_ja_existia
Prints the warning message when a key already exists (dedupe).
exibir_chave_removida
Prints the success message for keys remove.
exibir_chaves_mascaradas
Prints all stored keys with 1-based indices and masked values.
exibir_chaves_removidas
Prints the success message for keys clear.
exibir_dica_biblioteca_nao_encontrada
Prints a user-friendly hint when the requested library was not found.
exibir_documentacao_formatada
Prints structured documentation from the docs endpoint.
exibir_importacao_concluida
Prints the success message for keys import.
exibir_indice_invalido
Prints an invalid index error.
exibir_json_array_vazio
Prints an empty JSON array [] to stdout.
exibir_json_bruto
Prints a raw JSON string to stdout.
exibir_json_resultados
Prints raw JSON results to stdout (used by Library and Docs JSON mode).
exibir_nenhuma_chave
Prints the “no keys stored” hint message.
exibir_nenhuma_chave_para_remover
Prints the “no keys to remove” message.
exibir_operacao_cancelada
Prints the cancellation message for keys clear.
exibir_texto_plano
Prints plain text to stdout (used by Docs text mode).
exibir_xdg_nao_suportado
Prints an “XDG not supported” error for keys path.
formatar_added_at_display
Formata uma string RFC3339 para exibição compacta: YYYY-MM-DD HH:MM:SS.