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

feat(spin): Adds new command to install spin CLI. #997

Merged
merged 1 commit into from
Aug 3, 2018

Conversation

jtk54
Copy link
Contributor

@jtk54 jtk54 commented Aug 2, 2018

Installs latest version only. Will introduce commands to install from a BOM and from a spin version soon.

@jtk54 jtk54 requested a review from lwander August 2, 2018 21:00
@@ -0,0 +1,24 @@
package com.netflix.spinnaker.halyard.cli.command.v1;
Copy link
Member

Choose a reason for hiding this comment

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

Missing header

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added.


@RestController
@RequestMapping("/v1/spin")
public class SpinController {
Copy link
Member

Choose a reason for hiding this comment

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

Should this be "spin" or "install" controller? Esp. if we added the "install" command to fetch other tools in the future

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The command structure is hal spin <>. We came up with three commands yesterday for things we'd need to support for spin: install (latest) install --version and uninstall|remove. Do we want to change that to hal install|uninstall spin?

Copy link
Member

Choose a reason for hiding this comment

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

No I think your approach is better, hal install... might confuse people

@lwander lwander merged commit ea28032 into spinnaker:master Aug 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants