Skip to content

docs(dir): add export operations to CLI reference#467

Open
paralta wants to merge 1 commit intomainfrom
feat/export
Open

docs(dir): add export operations to CLI reference#467
paralta wants to merge 1 commit intomainfrom
feat/export

Conversation

@paralta
Copy link
Copy Markdown
Member

@paralta paralta commented Apr 17, 2026

agntcy/dir#1336

Document the new dirctl export command, which transforms Directory records into formats consumable by external tools and agentic CLIs.

Export feature will only be released in v1.3.0. @keraron, what are your thoughts on merging documentation for not yet released features?

Signed-off-by: Catarina Paralta <clouropa@cisco.com>
@paralta paralta requested a review from keraron April 17, 2026 13:47
@paralta paralta marked this pull request as ready for review April 17, 2026 15:25
@paralta paralta requested a review from a team as a code owner April 17, 2026 15:25
@paralta paralta marked this pull request as draft April 17, 2026 15:25
Comment on lines +500 to +504
!!! note "Batch behaviour varies by format"

- **a2a / oasf**: One file per record (`<name>.json`).
- **agent-skill**: One subdirectory per skill (`<name>/SKILL.md`).
- **mcp-ghcopilot**: All matched MCP servers are merged into a single `mcp.json` with combined `servers` and `inputs` maps.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when we export something, saving by name is not unique which can lead to possible overrides/replaces during subsequent exports. can you provide an example of the filesystem once everything supported is exported for a given record

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you elaborate on this? I am currently assuming that a record can be either an MCP, A2A or Skill and not a combination of these types

@paralta paralta marked this pull request as ready for review April 20, 2026 14:43
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.

2 participants