Expose Command Structs for Plugins by Mcrich23 · Pull Request #603 · apple/container

added 14 commits

September 10, 2025 23:04

@Mcrich23

@Mcrich23

@Mcrich23

@Mcrich23

@Mcrich23

jglogan

jglogan

@Mcrich23

@Mcrich23

@Mcrich23

dcantah

Mcrich23 added a commit to Mcrich23/container that referenced this pull request

Sep 17, 2025
commit dd6bdc2
Author: Morris Richman <81453549+Mcrich23@users.noreply.github.com>
Date:   Wed Sep 17 15:24:26 2025 -0700

    Expose Command Structs for Plugins (apple#603)

    ## Type of Change
    - [ ] Bug fix
    - [x] New feature
    - [ ] Breaking change
    - [ ] Documentation update

    ## Motivation and Context
    Plugins technically exist, but to add shortcuts or to do existing things
    with functions in `container` requires calling a compiled binary. This
    pull request aims to remove that hurdle and instability by exposing
    commands as a new `ContainerCommands ` target.

    Simply import `ContainerCommands` and you can access almost
    any command as if it were a native part of the binary. This makes
    plugin development significantly easier.

    Closes apple#609.

This was referenced

Sep 18, 2025

jglogan pushed a commit that referenced this pull request

Sep 19, 2025
## Motivation and Context
This is an extension of #603 to cleanup the folder structure and have it
match with the new library and target names.

This was referenced

Sep 19, 2025

mazdak added a commit to mazdak/container that referenced this pull request

Sep 21, 2025

@Mcrich23 Mcrich23 deleted the expose-command-structs-for-plugins branch

September 23, 2025 00:02