Home Explore Blog CI



nushell

commands/categories/deprecated.md
9c6fa79fbde60fd28860ea82093d392c2432a4144063bb0400000003000002ee
---
editLink: false
contributors: false
---

# Deprecated

<script>
  import pages from '@temp/pages'
  export default {
    computed: {
      commands() {
        return pages
          .filter(p => p.path.includes('/commands/docs/'))
          .filter(p => p.frontmatter.categories.includes('deprecated'))
          .sort((a,b) => (a.title > b.title) ? 1 : ((b.title > a.title) ? -1 : 0));
      }
    }
  }
</script>

<table>
  <thead>
    <tr>
      <th>Command</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr v-for="command in commands">
       <td><a :href="$withBase(command.path)">{{ command.title }}</a></td>
       <td style="white-space: pre-wrap;">{{ command.frontmatter.usage }}</td>
    </tr>
  </tbody>
</table>

Chunks
2070aaba (1st chunk of `commands/categories/deprecated.md`)
Title: Deprecated Commands
Summary
This section lists deprecated commands found within the documentation pages. It dynamically generates a table displaying these commands along with their descriptions. The table includes two columns: 'Command' and 'Description'. The 'Command' column provides a clickable link to the specific documentation page for each deprecated command, using the command's title as the link text. The 'Description' column contains the usage information for the command, which is extracted from the frontmatter of the corresponding documentation page. The list of commands is filtered to include only those located under the '/commands/docs/' path and categorized as 'deprecated'. Furthermore, the commands are sorted alphabetically by their titles to ensure a consistent and easily navigable presentation. This section serves as a reference for users to identify commands that are no longer recommended for use and potentially find suitable alternatives.