gtm_tool_finder_erl (gtm_tool_finder_erl v1.0.0)

View Source

Search the OneGTMLab GTM tool directory (https://www.onegtmlab.dev/tool-directory): API reviews of sales and marketing tools, head-to-head comparisons and GTM glossary terms. The index ships inside the package (priv/index.tsv), so it works offline and sends no data anywhere.

Summary

Functions

Every entry in the directory.

Command line: gtm_tool_finder [--kind Tool] [--limit 10] words...

Entries whose name or description contains every word of the query.

Kind filters by Tool, Category, Comparison or Glossary (case-insensitive, "" means all). Limit caps the result count (0 or less means 20).

Types

entry/0

-type entry() :: #{name := binary(), kind := binary(), url := binary(), description := binary()}.

Functions

all()

-spec all() -> [entry()].

Every entry in the directory.

main(Args)

-spec main([string()]) -> no_return().

Command line: gtm_tool_finder [--kind Tool] [--limit 10] words...

search(Query)

-spec search(string() | binary()) -> [entry()].

Entries whose name or description contains every word of the query.

search(Query, Kind)

-spec search(string() | binary(), string() | binary()) -> [entry()].

search(Query, Kind, Limit0)

-spec search(string() | binary(), string() | binary(), integer()) -> [entry()].

Kind filters by Tool, Category, Comparison or Glossary (case-insensitive, "" means all). Limit caps the result count (0 or less means 20).