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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display banner.txt on CLI command #73

Merged
merged 1 commit into from
Jan 9, 2023
Merged

Display banner.txt on CLI command #73

merged 1 commit into from
Jan 9, 2023

Conversation

gmso
Copy link
Contributor

@gmso gmso commented Jan 7, 2023

Closes #50

Intro

Hi! 馃憢 I'm Germ谩n, a Software Engineer based in Maryland. I really like this project's goal and ideas so I would like to contribute if possible.

Seeing as this is my first PR on this project, I went ahead and tackled issue #50, since it has the good first issue tag.

Changes

  • Display the banner.txt when using the pushup command
  • The banner is embedded into the executable
  • The banner is not displayed when pushup -version is executed

Examples

$ pushup

        //                                                                  
     //  //      //////                        //                           
                //    //  //    //    //////  //////    //    //  //////    
               //////    //    //  ////      //    //  //    //  //    //   
              //        //    //      ////  //    //  //    //  //    //    
             //          //////  //////    //    //    //////  //////       
                                                              //            
                                                             //             

Usage: pushup [command] [options]

Flags:
 -version  Print the version number and exit

Commands:
 new [path]  create new Pushup project directory
 build       compile Pushup project and build executable
 run         build and run Pushup project app
$ pushup build

        //                                                                  
     //  //      //////                        //                           
                //    //  //    //    //////  //////    //    //  //////    
               //////    //    //  ////      //    //  //    //  //    //   
              //        //    //      ////  //    //  //    //  //    //    
             //          //////  //////    //    //    //////  //////       
                                                              //            
                                                             //             

$ pushup -version
Pushup 0.0.1

I hope I got the idea of this change right. If there are any suggestions or changes to be made, please let me know!

Copy link
Contributor

@paulsmith paulsmith left a comment

Choose a reason for hiding this comment

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

Hi, @gmso. Thank you for your contribution! LGTM, :shipit:

@paulsmith paulsmith merged commit 7b9ec07 into adhocteam:main Jan 9, 2023
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.

Add startup banner
2 participants