Golang interactive CLI app with Cobra and Promptui | Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 พ.ย. 2024

ความคิดเห็น • 45

  • @TheMouseJerry-du1md
    @TheMouseJerry-du1md 3 หลายเดือนก่อน +1

    Excellent! This is how the teaching should be, i.e Project based learning. Thank you so much!

    • @DivRhino
      @DivRhino  3 หลายเดือนก่อน

      Thank you so much! I appreciate you being here, your comment is very kind. ✨🙏

  • @hugolorenzomato7157
    @hugolorenzomato7157 3 ปีที่แล้ว +8

    Tidy, straightforward and well explained. How difficult it is to find videos that explain so well in such a short time! I'll keep watching your videos. Thank you!

    • @DivRhino
      @DivRhino  3 ปีที่แล้ว +1

      You are most kind. Thank you for the wonderful comment and for watching. I hope your day has been going well. 🙂

  • @rixavv
    @rixavv 3 ปีที่แล้ว +5

    Your thumbnails are out of this world 😩

    • @DivRhino
      @DivRhino  3 ปีที่แล้ว +3

      Aw, thank you for the lovely comment. Hope you're having a good day! :)

  • @cristobaljvp
    @cristobaljvp 3 ปีที่แล้ว +3

    This was very high quality, good example app too. Thanks a lot!

    • @DivRhino
      @DivRhino  3 ปีที่แล้ว +1

      Thank you for your encouraging comment.

  • @cindrmon
    @cindrmon 2 ปีที่แล้ว +4

    really great tutorial! i never knew setting up a simple cli program with golang would be this simple! i actually made some revisions to my version of the code, like adding another table for categories and not hardcoding them, and it really helped me get a little familiar with go, cobra, and promptui! looking forward for more of your tutorials~

    • @DivRhino
      @DivRhino  2 ปีที่แล้ว +2

      Great job extending the example in the video! And thank you so much for leaving a comment to let me know, it made my day! :)

  • @jabuci
    @jabuci 2 ปีที่แล้ว +1

    I love your voice :) It's a pleasure to my ears. And the tutorial is also good, thanks!

    • @DivRhino
      @DivRhino  2 ปีที่แล้ว +1

      Thank you for your kind comment! I'm glad you liked the tutorial!

  • @rupeshharode2578
    @rupeshharode2578 3 ปีที่แล้ว +7

    Great tutorial. I have watched all your videos and I must say they are pretty informative.
    I have a little request - Can you please create a video on your Golang setup and how you do it? There always seems to be something that doesn't work whenever I want to work on Golang.
    Thanks!

    • @DivRhino
      @DivRhino  3 ปีที่แล้ว +2

      Thank you for watching and for your support, Rupesh. Golang setup is a great idea!

  • @pjc825
    @pjc825 11 หลายเดือนก่อน +1

    Th quality of your videos are outstanding 💯😃👍

    • @DivRhino
      @DivRhino  11 หลายเดือนก่อน +1

      Thank you for your kind comment! Glad to have you here ✨

  • @487alber
    @487alber 3 ปีที่แล้ว +7

    This is an awesome tutorial! Quite clear, direct and well organized.
    I wish all tutorials were made like this one, congrats and thanks for the work done 😄
    Btw, I would like to know more about proper error management with multiple routines or a deep analysis on Golang testing for unitary or integration purposes, I don't know if you have already shown it.

    • @DivRhino
      @DivRhino  3 ปีที่แล้ว +3

      Thank you for your kind comment, Alberto! And I have not covered those topics yet, but those are great suggestions for future videos 🙏

  • @colinmsmall
    @colinmsmall 3 ปีที่แล้ว +2

    Thank you for making these.

    • @DivRhino
      @DivRhino  3 ปีที่แล้ว +2

      And thank you for watching and taking the time to leave a nice comment. Hope your week has been a good one! :)

  • @salamander1782
    @salamander1782 2 ปีที่แล้ว +1

    Super nice video. Quick question: How did you find out about promptui? It doesn't show up in any of the cli ui collections and I couldn't even find it in Github most starred around the same stars as prompt ui. How do you discover useful libraries like this one? Thanks so much!

    • @DivRhino
      @DivRhino  2 ปีที่แล้ว

      Hello! Thank you for your question. Someone actually mentioned promptui in the comment section of my original CLI tutorial video. That's where I learnt about it :)

  • @RodrigoStuchi
    @RodrigoStuchi 2 ปีที่แล้ว +1

    Really awesome content 👏👏👏, keep it going please

    • @DivRhino
      @DivRhino  2 ปีที่แล้ว

      I appreciate the encouragement! Thank you so much for watching 🙏

  • @samuraiprogrammer7568
    @samuraiprogrammer7568 3 ปีที่แล้ว +2

    Hello. Your tutorials are amazing. Why are you stopping ?

    • @DivRhino
      @DivRhino  3 ปีที่แล้ว +2

      Thank you for your comment.
      I have been going through a pretty busy period at my day job so I’ve had less free time to create videos.

  • @oussamasethoum2755
    @oussamasethoum2755 2 ปีที่แล้ว +2

    Are you still doing tutorials ?

    • @DivRhino
      @DivRhino  2 ปีที่แล้ว +2

      I am! I just uploaded a new video :)

    • @oussamasethoum2755
      @oussamasethoum2755 2 ปีที่แล้ว +1

      @@DivRhino Thank you

  • @Akhilshark9
    @Akhilshark9 3 ปีที่แล้ว +2

    Great Content!

    • @DivRhino
      @DivRhino  3 ปีที่แล้ว +1

      Thank you for your kind comment! Hope you are having a good weekend :)

  • @srttkx
    @srttkx 3 ปีที่แล้ว +2

    Great video ✌️

    • @DivRhino
      @DivRhino  3 ปีที่แล้ว +2

      Thanks, sarath k! I appreciate your continued support. Hoping your week has been going well. :)

  • @ckayzy1647
    @ckayzy1647 ปีที่แล้ว

    Is there a way of dockerizing the application but still being able to use cobra commands while containers are running?

    • @DivRhino
      @DivRhino  ปีที่แล้ว

      Hi there! Thanks for your question. Yes, you can run commands while the container is running.
      If you're using docker (without docker compose), you need to prepend "docker exec" to your command.
      Example: "docker exec yourContainerName touch main.go".
      If you're using docker compose, you can prepend your command with "docker compose run".
      Example: "docker compose run yourServiceName touch.main.go"
      Hope this helps!

  • @colinmsmall
    @colinmsmall 2 ปีที่แล้ว

    Do you plan on making any more content?

    • @DivRhino
      @DivRhino  2 ปีที่แล้ว +1

      Yeah, maybe. Once I get some time off work.

  • @navjotsingh2457
    @navjotsingh2457 2 หลายเดือนก่อน +1

    cool

    • @DivRhino
      @DivRhino  หลายเดือนก่อน

      Thank you! ✨

  • @chrisbarrott971
    @chrisbarrott971 2 ปีที่แล้ว

    Anyone else get an issue with:
    exec: "gcc": ececutable file not found in %PATH%?
    Problem is I'm on a desktop which I cant install stuff easily :/

    • @DivRhino
      @DivRhino  2 ปีที่แล้ว

      I’m sorry you’re having trouble with the tutorial.
      The error appears to indicate that you do not have gcc installed on your system.
      If you’re unable to install things on your current computer, it may be a little difficult to solve this :(

    • @chrisbarrott971
      @chrisbarrott971 2 ปีที่แล้ว +2

      @@DivRhino i figured it out in the end 👍 thanks this tutorial was really helpful, it was my fault 😁

    • @DivRhino
      @DivRhino  2 ปีที่แล้ว +1

      @@chrisbarrott971 Nice work figuring it out! 🙌