Skip to content

feat: imports command added#99

Open
nicolasLuduena wants to merge 1 commit intomainfrom
270-feat-add-scope-inspection-command
Open

feat: imports command added#99
nicolasLuduena wants to merge 1 commit intomainfrom
270-feat-add-scope-inspection-command

Conversation

@nicolasLuduena
Copy link

@nicolasLuduena nicolasLuduena commented Feb 6, 2026

This pull request introduces a new feature to the inspect command, allowing users to inspect types available from a plutus.json (CIP57) file. The main changes add a new subcommand, implement its argument parsing, and provide the logic to load and display type definitions from the specified file. It relies on this PR being merged

New inspect imports subcommand:

Feature: Imports inspection

  • Added a new Imports subcommand to the inspect command, enabling inspection of types from a plutus.json file.
  • Implemented the argument parsing and command logic in src/commands/inspect/imports.rs, including support for specifying the file path and an optional alias, loading type definitions, and printing them in source format.
  • Integrated the new subcommand with the main inspect command runner, dispatching to the imports::run function when the Imports variant is selected.

@nicolasLuduena nicolasLuduena linked an issue Feb 6, 2026 that may be closed by this pull request
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.

feat: add scope inspection command to trix

1 participant