cli Package

cli Package

cli_config Module

Allows specifying yml configuration values from commandline parameters.

Yml variables are prefixed with dollar sign ($). Commandline parameter must be comma separated list of variable=values.

Configuration example:

tasks:
  my task:
    rss: $url
    download: $path

Commandline example:

--cli-config url=http://some.url/ path=~/downloads
flexget.plugins.cli.cli_config.key_value_pair(text)
flexget.plugins.cli.cli_config.register_parser_arguments()
flexget.plugins.cli.cli_config.replace_in_item(replaces, item)
flexget.plugins.cli.cli_config.substitute_cli_variables(config, manager)

doc Module

flexget.plugins.cli.doc.print_doc(manager, options)
flexget.plugins.cli.doc.register_parser_arguments()
flexget.plugins.cli.doc.trim(docstring)

explain_sql Module

class flexget.plugins.cli.explain_sql.Explain(stmt)

Bases: Executable, ClauseElement

class flexget.plugins.cli.explain_sql.ExplainQuery(entities: _ColumnsClauseArgument[Any] | Sequence[_ColumnsClauseArgument[Any]], session: Session | None = None)

Bases: Query

flexget.plugins.cli.explain_sql.deregister_sql_explain(man, options)
flexget.plugins.cli.explain_sql.explain(element, compiler, **kw)
flexget.plugins.cli.explain_sql.register_parser_arguments()
flexget.plugins.cli.explain_sql.register_sql_explain(man, options)

movie_queue Module

perf_tests Module

flexget.plugins.cli.perf_tests.cli_perf_test(manager, options)
flexget.plugins.cli.perf_tests.imdb_query(session)
flexget.plugins.cli.perf_tests.register_parser_arguments()

performance Module

flexget.plugins.cli.performance.after_plugin(task, keyword)
flexget.plugins.cli.performance.before_plugin(task, keyword)
flexget.plugins.cli.performance.cleanup(manager, options)
flexget.plugins.cli.performance.log_query_count(name_point)

Debugging purposes, allows logging number of executed queries at :name_point:

flexget.plugins.cli.performance.register_parser_arguments()
flexget.plugins.cli.performance.startup(manager, options)

plugins Module

flexget.plugins.cli.plugins.plugins_summary(manager, options)
flexget.plugins.cli.plugins.register_parser_arguments()

series Module