Feedistiller.CLI (feedistiller v3.2.0)

Command line interface for Feedistiller.

Link to this section Summary

Functions

Entry point

Parse command line options and return a list of %FeedAttributes{}.

Link to this section Functions

Specs

main([String.t()]) :: :ok

Entry point

Link to this function

parse_argv(argv)

Specs

parse_argv([String.t()]) ::
  {:feeds,
   [
     global: Feedistiller.FeedAttributes.t(),
     feeds: [Feedistiller.FeedAttributes.t()]
   ]}
  | {:help, String.t()}

Parse command line options and return a list of %FeedAttributes{}.

Global options are expected to come before any --feed-url options and are applied to all feeds when not overloaded by being respecified after a --feed-url option.