Skip to content

Add CLI utility for automating corpse mgmt #357

Description

@victorfrye

Feature description

Add a CLI that can be used to automate the following while in the repository:

  • Sorting the corpses JSON document
  • Verifying sorted order
  • Adding new corpses to the document

Should be interactive by default but allow providing the required elements as arguments.

Impacted areas

Please select all the areas that may be enhanced by this feature:

  • Web Client Application
  • Application Model
  • GitHub Action Workflows
  • Cloud Infrastructure
  • Developer Experience
  • Documentation
  • Other (please specify)

Additional context

Current plan is to do this as a .NET CLI application. There is an unfortunate fact that Aspire does not support interacting with the terminal and means it would have be orchestrated outside of Aspire.

Will also want to be able to run the CLI tool in the pipeline to verify the document is sorted and sees no changes. This will allow us to clean up the web client sorting (although we may leave that in since it's done at build time and adds resiliency).

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions