Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow anchoring invocables directly to main command #68

Merged
merged 5 commits into from
Sep 25, 2020

Conversation

davidovich
Copy link
Owner

@davidovich davidovich commented Sep 25, 2020

This PR allows folding summonable assets and runnable invocables on the main command.

This behavior is enabled by adding summon.WithoutRunCmd() to the main summon.Main() entry-point.

fixes #55

in this mode, invocables are not attached to the `run` subcommand,
and are directly invocable.
Instead of allowing dynamic configuration, this config should be a compile time
decision, so that the interface wanted by the user cannot be changed by error in the
summon.config.yaml.

Introduces a programmatic config knob for the user for future configuration purposes.

Keeps the config commit 6516edb for future reference.
@davidovich davidovich merged commit 6d4c6ee into master Sep 25, 2020
@davidovich davidovich deleted the davidovich/issue55 branch September 25, 2020 14:26
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.

feature: fold invocables at main command
1 participant