<% 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-state") %>>
            <a href="/docs/commands/state/index.html">state</a>
            <ul class="nav">
              <li<%= sidebar_current("docs-commands-state-address") %>>
                <a href="/docs/commands/state/addressing.html">Resource Addressing</a>
              </li>

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

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

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

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

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

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

        </ul>
      </li>

    </ul>

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

  <% end %>

  <%= yield %>
<% end %>
