title: How to automatically indent a list with {cli}?
body: <p>I want to create two lists of files with {cli}. Oddly enough, I didn't find a simple way to do it. For now, this is what I have:</p>
  <pre class="lang-r prettyprint-override"><code>library(cli)
  
  f &lt;- function() {
    cli::cli_div(theme = list(ul = list(`margin-left` = 2, before = &quot;&quot;)))
    
    cli::cli_text(&quot;this is my first list:&quot;)
    cli::cli_ul()
    for (i in c(&quot;a&quot;, &quot;b&quot;, &quot;c&quot;)) {
      cli::cli_li(&quot;{.file {i}}&quot;)
    }
    
    cli::cli_text(&quot;this is my second list:&quot;)
    cli::cli_ul()
    for (i in c(&quot;d&quot;, &quot;e&quot;, &quot;f&quot;)) {
      cli::cli_li(&quot;{.file {i}}&quot;)
    }
    
    cli::cli_alert_info(&quot;this is an info&quot;)
  }
  
  f()
  #&gt; this is my first list:
  #&gt;   • 'a'
  #&gt;   • 'b'
  #&gt;   • 'c'
  #&gt;   this is my second list:
  #&gt;       • 'd'
  #&gt;       • 'e'
  #&gt;       • 'f'
  #&gt;       ℹ this is an info
  </code></pre>
  <p><sup>Created on 2022-06-10 by the <a href="https://reprex.tidyverse.org" rel="nofollow noreferrer">reprex package</a> (v2.0.1)</sup></p>
  <p>As you can see, there is a formatting problem. This is the expected output:</p>
  <pre class="lang-r prettyprint-override"><code>#&gt; this is my first list:
  #&gt;   • 'a'
  #&gt;   • 'b'
  #&gt;   • 'c'
  #&gt; this is my second list:
  #&gt;   • 'd'
  #&gt;   • 'e'
  #&gt;   • 'f'
  #&gt; ℹ this is an info
  </code></pre>
  <p>Do you know a way to have this output?</p>