The plugin directive loads a Beancount plugin module.
See Plugins.
Beancount syntax
plugin "beancount.plugins.auto_accounts"
plugin "beancount.plugins.auto_accounts" "Assets:Cash"General form: plugin "Module" ["Config"]
Elixir struct
%Beancount.Directives.Plugin{
module: "beancount.plugins.auto_accounts",
config: nil
}
%Beancount.Directives.Plugin{
module: "beancount.plugins.auto_accounts",
config: "Assets:Cash"
}Or use Beancount.plugin/2:
Beancount.plugin("beancount.plugins.auto_accounts")
Beancount.plugin("beancount.plugins.auto_accounts", "Assets:Cash")Fields
module- Python plugin module path as a string (Beancount plugin name).config- optional configuration string passed to the plugin.nilomits the second argument in rendered.beantext.