Hide brand kit behind a flag in CLI Tool
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3585013. -->
Reported by: [hooroomoo](https://www.drupal.org/user/3688872)
Related to !921
>>>
<h3 id="overview">Overview</h3>
<p>Currently the CLI tool assumes that the canvas_oauth authentication provider includes the brand kit endpoint. But the canvas_oauth authentication provider includes brand kit only in 1.x. </p>
<p>So if CLI tool push/pull is used on any released version of Canvas it will error out with <code>Error: The used authentication method is not allowed on this route.</code></p>
<h3 id="proposed-resolution">Proposed resolution</h3>
<p>Hide the brand kit behind a feature flag in CLI Tool similar to the pages flag with `--include-brand-kit` or `CANVAS_INCLUDE_BRAND_KIT=TRUE`</p>
<h3 id="ui-changes">User interface changes</h3>
issue