Open askreet opened 8 years ago
@askreet I like your CLI proposal.
As for deleting old builds, I believe prune
should only delete the dev builds generated by deploy-code
.
This seems to be a very useful feature for most users, implementing it as a core functionality would be great.
I'm :+1: for supporting this in moonshot.
Sorry for the late answer, I'm on vacation this week. I like the idea of extending moonshot with a builds
subcommand and I think all three of your CLI proposals are perfectly valid.
For your questions:
@ghaabor introduces a
list-builds
command in #82, which highlights a very real need for the Moonshot pattern: builds management.I see 3 basic needs:
I wonder if we want to use a Thor Subcommand pattern for the CLI interface, like:
I have a couple questions I'd love feedback on:
deploy-code
in some meaningful way that can be used generically by ArtifactRepositories? If so, shouldprune
only work with those builds as safety mechanism?Thoughts?