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: sammy cli #1

Open
wants to merge 24 commits into
base: main
Choose a base branch
from
Open

feat: sammy cli #1

wants to merge 24 commits into from

Conversation

Sanix-Darker
Copy link
Member

@Sanix-Darker Sanix-Darker commented Jan 16, 2022

What

  • Creating the sammy CLI
    • deploy command
    • restart_nginx command
    • stop command
    • update_field command
  • Write some small tests
  • Write a small CI pipeline

Dockerfile Outdated Show resolved Hide resolved
@@ -0,0 +1,26 @@
# ----
Copy link
Member

Choose a reason for hiding this comment

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

Since we are building a CLI do you think we need to build a docker image for it at this stage ?

Copy link
Member Author

Choose a reason for hiding this comment

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

No but just in case...

Copy link
Member Author

Choose a reason for hiding this comment

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

This is firstly for anyone wanted to use it withouth having to install golang and deps... i know we're going to have releases depending on OS environment but just for now, let's keep it like this !

main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
Sanix-Darker and others added 21 commits January 20, 2022 11:32
Co-authored-by: Boris Mbarga <elhmn@users.noreply.github.com>
Co-authored-by: Boris Mbarga <elhmn@users.noreply.github.com>
Co-authored-by: Boris Mbarga <elhmn@users.noreply.github.com>
Co-authored-by: Boris Mbarga <elhmn@users.noreply.github.com>
Co-authored-by: Boris Mbarga <elhmn@users.noreply.github.com>
Co-authored-by: Boris Mbarga <elhmn@users.noreply.github.com>
Co-authored-by: Boris Mbarga <elhmn@users.noreply.github.com>
Co-authored-by: Boris Mbarga <elhmn@users.noreply.github.com>
Co-authored-by: Boris Mbarga <elhmn@users.noreply.github.com>
Co-authored-by: Boris Mbarga <elhmn@users.noreply.github.com>
Co-authored-by: Boris Mbarga <elhmn@users.noreply.github.com>
Co-authored-by: Boris Mbarga <elhmn@users.noreply.github.com>
- added a throError method
- updated choices input in the switch case
@elhmn elhmn force-pushed the main branch 2 times, most recently from c13afb3 to 4fe7315 Compare February 18, 2022 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DO NOT MERGE wip Work in Progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants