There might be a problem with the account name matching.
This directive:
2018-11-10 close Liabilities:Credit-Cards:Wife:Citi
also seems to match an account named
Liabilities:Credit-Cards:Wife:Citi-CustomCash, which should remain open.
Instead, the directive should match Liabilities:Credit-Cards:Wife:Citi and
Liabilities:Credit-Cards:Wife:Citi:*, but not
Liabilities:Credit-Cards:Wife:Citi*.

Stefano

On Mon, Aug 22, 2022 at 8:18 AM Stefano Mihai Canta <cantastef...@gmail.com>
wrote:

> Hey,
> Thank you! I was going to write my first plugin, but you beat me to it :)
> I'll use this as a template for the future.
>
> I appreciate it,
> Stefano
>
> On Mon, Aug 22, 2022 at 3:57 AM Red S <redstre...@gmail.com> wrote:
>
>> I've wanted one too. Just wrote it up. See here
>> <https://github.com/redstreet/beancount_reds_plugins/tree/main/beancount_reds_plugins/autoclose_tree#readme>
>> .
>>
>> In short:
>>
>> pip3 install git+https://github.com/redstreet/beancount_reds_plugins
>>
>> And add this to your sources:
>> plugin "beancount_reds_plugins.autoclose_tree.autoclose_tree" "{}"
>>
>>
>> On Sunday, August 21, 2022 at 2:28:18 PM UTC-7 bl...@furius.ca wrote:
>>
>>> That's a good idea. I would certainly use it.
>>> The answer is there isn't at the moment.
>>>
>>> On Sun, Aug 21, 2022, 21:59 cantas...@gmail.com <cantas...@gmail.com>
>>> wrote:
>>>
>>>> Hello,
>>>> Sorry if this question has already been asked in the past. I was not
>>>> able to find any references.
>>>>
>>>> Is there a way to automatically close all an account and all its
>>>> descendants? It'd be useful for investment accounts with lots of
>>>> commodities. Maybe there's already a plugin that I am not aware of.
>>>>
>>>> Thank you,
>>>> Stefano
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Beancount" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to beancount+...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/beancount/4ae041c8-9586-4987-bf01-03e3ce29c325n%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/beancount/4ae041c8-9586-4987-bf01-03e3ce29c325n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Beancount" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/beancount/mTDZ3sQjH9U/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> beancount+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/beancount/25689f47-27c2-4cc2-958c-397a468846d1n%40googlegroups.com
>> <https://groups.google.com/d/msgid/beancount/25689f47-27c2-4cc2-958c-397a468846d1n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAMzm8_r_B9VsCmNB5nqGdH88EV--7iZWBeZvgiSbZy9sbOCGbQ%40mail.gmail.com.

Reply via email to