Skip to content

List all commands#22

Draft
andrewjensen wants to merge 1 commit intomainfrom
adj/list-all-commands
Draft

List all commands#22
andrewjensen wants to merge 1 commit intomainfrom
adj/list-all-commands

Conversation

@andrewjensen
Copy link
Copy Markdown
Collaborator

@andrewjensen andrewjensen commented Apr 8, 2026

This is an experiment to recursively list all the commands in the CLI, to serve as a quick reference. This is inspired by gh help and gh help reference.

Places we can use this in the future:

  • Build into a CLI command, like dx help reference
  • Add to the CLI's readme, automatically ensure it stays updated with dev and CI scripts

To run the experiment:

make
chmod +x ./dist/listAllCommands.js
pnpm ./dist/listAllCommands.js

You will see output like this:

Program: dx
auth: Manage DX authentication

  login:
  logout:
  status:

catalog: Manage the Software Catalog

  entities:    Manage entities

    create:     Create a new entity in your software catalog
    delete:     Delete an entity from your software catalog
    info:
    list:       List entities from your software catalog
    scorecards: Get the current scorecard report for an entity
    tasks:      Get outstanding initiative tasks for an entity
    update:     Update an entity in your software catalog
    upsert:     Create a new entity in your software catalog, or update it if it already exists

  entityTypes: Manage catalog entity types

    delete: Delete an entity type from your software catalog
    info:
    list:   List all entity types in your software catalog


scorecards: Manage scorecards

  info: Retrieve details about a specific scorecard, including its defined levels and checks
  list: List scorecards


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant