This Makes Golang CLI Development So MUCH Better

Поделиться
HTML-код
  • Опубликовано: 30 янв 2025

Комментарии • 45

  • @MelkeyDev
    @MelkeyDev  Год назад +10

    Let me know what you build with Go using the Cobra package!
    Drop a like! It means the world

    • @dantech2011
      @dantech2011 Год назад

      Please make more videos about Cobra! Thanks @MelKeyDev

  • @brotherthegrest
    @brotherthegrest Год назад +12

    Melkey just keeps making go better

    • @MelkeyDev
      @MelkeyDev  Год назад +5

      It's all the PHP i snort

    • @brotherthegrest
      @brotherthegrest Год назад

      @@MelkeyDev nose covered in syntax highlighting

  • @Green_44_
    @Green_44_ Год назад +16

    The book “Powerful Command-Line Applications in Go” covers this really well

    • @MelkeyDev
      @MelkeyDev  Год назад +1

      Oh - woah. I need a link to this

    • @fuzzy-02
      @fuzzy-02 10 месяцев назад

      Thank you for the recommendation of this book

  • @inigoarejula2147
    @inigoarejula2147 Год назад +1

    I know about cobra when contributing for fedora toolbox, this package is just perfect 😊

  • @im_m7md126
    @im_m7md126 Год назад

    Nice video Melkey, I thought this video was about charm, keep up your amazing work

  • @ryanleemartin7758
    @ryanleemartin7758 Год назад

    If it's good enough the kube, it's good enough for me! Good stuff!

  • @_sudipidus_
    @_sudipidus_ Год назад

    spf13 is a legend
    cobra,viper,hugo
    I love hugo and use it for my blog

    • @MelkeyDev
      @MelkeyDev  11 месяцев назад +1

      Honestly - legendary status

  • @azharmahmood7616
    @azharmahmood7616 Год назад +7

    I would like to call it Gobra. 😊

  • @OldKing11100
    @OldKing11100 Год назад

    I was needing to convert a bulk of my bash scripts to Rust, because some monsters prefer to use Mac or Windows. Cobra and cross compilation in Go looks much easier than what I was about to attempt in Rust. I guess putting off learning Rust for a while longer won't hurt.

    • @MelkeyDev
      @MelkeyDev  Год назад +2

      Cobra is amazing. Definitely recommend it. Stay tuned for a video I will make in the coming weeks where we make the CLI"s even better

    • @pss_crs
      @pss_crs Год назад

      cobra is back bone of kubectl, docker cli, gh, hugo and many other big projects

  • @ВладФоменко-р4е
    @ВладФоменко-р4е 10 месяцев назад

    Thank you so much!

  • @ruslangabitov5202
    @ruslangabitov5202 Год назад +2

    Cobra is a great tool, but you didn't show it in the video. The app you've presented could be easily created with the standard flag package (even Viper isn't needed for this).
    Cobra shines when you use commands with your app, not just flags.

    • @MelkeyDev
      @MelkeyDev  Год назад +2

      Good point!
      I will go into more detail with Bubble Tea + Cobra in my next video

  • @emil_l889
    @emil_l889 Год назад +1

    COBRA!!! 🐍

  • @willbdev
    @willbdev Год назад

    Thank you!

  • @thewhiteoaktree
    @thewhiteoaktree Год назад

    Hey man, awesome video. Is this compatible with PHP 5.2.14, or only PHP 8? I'm still on a legacy version that I need to upgrade. Thanks for the tip, great video!

    • @MelkeyDev
      @MelkeyDev  Год назад

      It is not - since this is only a Go lang lib!

  • @fuzzy-02
    @fuzzy-02 10 месяцев назад

    Any tutorial how to do it with no 3rd party packages? Just go

  • @karim6514
    @karim6514 Год назад +1

    First 🥳

  • @shivammittal6066
    @shivammittal6066 3 месяца назад

    This package has 38k+ stars now

  • @bonsohazard
    @bonsohazard Год назад

    Your pink gopher thingy looks like it needs some downers cause it partied too hard for 3 days and can't fall asleep now.

  • @Endurancecoach00
    @Endurancecoach00 Год назад +2

    Gogang

  • @DrewryPope
    @DrewryPope Год назад

    i like charm!

    • @HunterGrey-g8o
      @HunterGrey-g8o 5 месяцев назад

      i wish i can see charm here, but no doubt cobra is the GOAT

  • @stonehat
    @stonehat Год назад

    2:16 cobra cli init edit 😅

  • @headlights-go-up
    @headlights-go-up Год назад +2

    I hope you realize how much wrath you will receive for this from the Rustaceans.

  • @user-lh3xs9km6z
    @user-lh3xs9km6z 2 месяца назад

    wtf... are there even cases that go is not responsive? on a cli command? wtf...

  • @ezekielswiss4347
    @ezekielswiss4347 28 дней назад

    please please pleaes dont do these odd cuts and little memes that popup...

  • @matteac_rs
    @matteac_rs Год назад

    Clap clap clap (rust reference)

  • @emil_l889
    @emil_l889 Год назад +2

    Got a cli for everything thanks to cobra😤😤😤 new phone? Na new CLI😤😤😤🫡🫡🫡