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

Turbine-Ruby CLI Stub #539

Merged
merged 3 commits into from
Nov 14, 2022
Merged

Turbine-Ruby CLI Stub #539

merged 3 commits into from
Nov 14, 2022

Conversation

anna-cross
Copy link
Contributor

@anna-cross anna-cross commented Nov 10, 2022

Description of change

Stubs for turbine-ruby cli. Contains functions needed by interfaces

type CLI interface {

Fixes #521

Type of change

  • New feature (stub)

How was this tested?

  • Unit Tests


func (t *turbineRbCLI) Run(ctx context.Context) (err error) {
// Run turbine-core gRPC server
return err
Copy link
Contributor

Choose a reason for hiding this comment

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

this will return nil, so I recommend adding an error

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sounds good!

)

func (t *turbineRbCLI) Build(ctx context.Context, appName string, platform bool) (string, error) {
return "", nil
Copy link
Contributor

Choose a reason for hiding this comment

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

I think these should return a "not implemented" error

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sounds good!

Copy link
Member

@raulb raulb left a comment

Choose a reason for hiding this comment

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

@dianadoherty do you think we should a feature flag for the ruby path until we finish it?

@anna-cross anna-cross merged commit d859902 into master Nov 14, 2022
@anna-cross anna-cross deleted the rb_cli_stub branch November 14, 2022 17:20
@dianadoherty
Copy link
Contributor

@dianadoherty do you think we should a feature flag for the ruby path until we finish it?

because turbine ruby commands are not exposed in this PR, this PR can be merged. But we should definitely add a flag for any future pr

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.

[Ruby: cli] Stub out Ruby cli
3 participants