Home Explore Blog CI



nushell

commands/categories/viewers.md
51753b7103c29bc719a542de34ba83a2d900d09ad034860400000003000002e8
---
editLink: false
contributors: false
---

# Viewers

<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('viewers'))
          .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
2120e699 (1st chunk of `commands/categories/viewers.md`)
Title: Viewer Commands
Summary
This section provides a comprehensive list of commands specifically designed for viewers within the system. It dynamically generates a table of available commands based on the pages tagged with the 'viewers' category under '/commands/docs/'. Each row in the table presents a command, hyperlinked to its detailed documentation page, alongside a concise description of its usage, extracted from the command's frontmatter. The commands are sorted alphabetically by title to facilitate easy browsing and identification. This allows viewers to quickly understand the available options and how to use them effectively, enhancing their experience and interaction within the platform. The descriptions are formatted to preserve whitespace, ensuring readability of complex command syntax or usage examples. This documentation serves as a valuable resource for viewers seeking to leverage the full functionality of the system's command set.