Skip to content

Make public command level methods so users can script in go #807

@TerryHowe

Description

@TerryHowe

What is the version of your ORAS CLI

1.0.0

What would you like to be added?

Make cmd level methods public so that users can write scripts in go instead of shell. What would be required to do this is just expose the commands, associated options and some aspects of cmd/oras/internal/option. Users would create options and call the command. For example for oras repo tags, showTagsOptions and showTags would be made public. The user would also need a way to create a Target

Why is this needed for ORAS?

Shell is pretty terrible to write, test and maintain. It would be a lot easier in go.

Are you willing to submit PRs to contribute to this feature?

  • Yes, I am willing to implement it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationDocumentation related issuesenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions