<% wrap_layout :inner do %>
  <% content_for :sidebar do %>
    <h4><a href="/docs/cli-index.html">Terraform CLI</a></h4>

    <ul class="nav docs-sidenav">
      <li<%= sidebar_current("docs-commands") %>>
        <a class="back" href="/docs/commands/index.html">Commands (CLI)</a>
        <ul class="nav">

          <li<%= sidebar_current("docs-commands-workspace") %>>
            <a href="/docs/commands/workspace/index.html">workspace</a>
            <ul class="nav">
              <li<%= sidebar_current("docs-commands-workspace-sub-list") %>>
                <a href="/docs/commands/workspace/list.html">list</a>
              </li>

              <li<%= sidebar_current("docs-commands-workspace-sub-select") %>>
                <a href="/docs/commands/workspace/select.html">select</a>
              </li>

              <li<%= sidebar_current("docs-commands-workspace-sub-new") %>>
                <a href="/docs/commands/workspace/new.html">new</a>
              </li>

              <li<%= sidebar_current("docs-commands-workspace-sub-delete") %>>
                <a href="/docs/commands/workspace/delete.html">delete</a>
              </li>

              <li<%= sidebar_current("docs-commands-workspace-sub-show") %>>
                <a href="/docs/commands/workspace/show.html">show</a>
              </li>
            </ul>
          </li>

        </ul>
      </li>

    </ul>

    <%= partial("layouts/otherdocs", :locals => { :skip => "Terraform CLI" }) %>

  <% end %>

  <%= yield %>
<% end %>
