Get CLI: A GetX Tool

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 พ.ย. 2024
  • Get CLI: A GetX Tool
    GetX was created to simplify the developer experience when creating an app. The get_cli is another step towards that goal. With this tool you will be able to create a complete infrastructure of whatever app you need to make.
    Adding "pub" keyword: stackoverflow....
    Link to the Code: github.com/tad...
    Connect With Me
    ✦ My Website: tadaspetra.com/#/
    ✦ Live Coding: / tadaspetra
    ✦ Twitter: / tadaspetra
    ✦ Chat on Discord: / discord
    ✦ Instagram: / tadaspetra
    I also do lots of Investing
    ✦ FREE stock: join.robinhood...
    My Top 5 Books:
    ✦ Brave New World - Aldous Huxley: amzn.to/2JyaK96
    ✦ 1984 - George Orwell: amzn.to/3lmLzUk
    ✦ The Millionaire Fastlane - MJ Demarco: amzn.to/2ViGthn
    ✦ The 4-Hour Workweek - Timothy Ferriss: amzn.to/3mnypYD
    ✦ Homo Deus - Yuval Noah Harari: amzn.to/2VlFRYe
    TH-cam Gear
    ✦ MacBook Pro 16 inch: amzn.to/3qe4MeF
    ✦ MX Master 3 Mouse: amzn.to/2VlkZQS
    ✦ Canon Rebel SL3: amzn.to/2ViIfPv
    ✦ Hiearcool USB Hub: amzn.to/3llsIsP
    ✦ iPad Pro 12.9 (3rd Generation): amzn.to/36kaVy0
    ✦ Apple Pencil (2nd Generation): amzn.to/2JoHy4y
    ✦ Yeti Microphone: amzn.to/37oRNOq
    ✦ Rode Boom Arm: amzn.to/3lnEKCb
    ✦ Blue Radius II Shock Mount: amzn.to/2JoIfea
    ✦ Blue RPop Filter: amzn.to/39rQSiZ
    ✦ Sony WH1000XM3: amzn.to/3moWgHh
    Thank you for watching!
    #getx #flutter #getcli

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

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

    I always liked GetX, but that makes it even more attractive. Thanks for the video!

    • @tadaspetra
      @tadaspetra  4 ปีที่แล้ว

      Thanks for watching!

  • @pranthonyaquino
    @pranthonyaquino 3 ปีที่แล้ว

    Today I created a lot of folders to create files inside of them because the getx architecture but right now I watched this video about the cli doing everything, lol... Thanks, man. :)

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

    as always you ahve my like sir! also thanks for using bigger font!

    • @tadaspetra
      @tadaspetra  4 ปีที่แล้ว

      Thank you 😊. And yes hopefully will help people better see the content!

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

    Ok, that blew my mind. Very cool!

    • @tadaspetra
      @tadaspetra  4 ปีที่แล้ว

      It is definitely very useful! I was impressed!

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

    Get will dominate the world soon or almost later.. Thanks for the content!

    • @tadaspetra
      @tadaspetra  4 ปีที่แล้ว

      We will see 😊

  • @yashraut19
    @yashraut19 4 ปีที่แล้ว +1

    Expecting more videos of GetX !

  • @ronaldoolesco7493
    @ronaldoolesco7493 4 ปีที่แล้ว +8

    Hi,
    Thought it might help someone
    "pub global activate get_cli" does not work for me, it says "command not found
    I'm running on windows 10
    tried adding dart in front of the command
    "dart pub global activate get_cli"
    works for me

    • @tadaspetra
      @tadaspetra  4 ปีที่แล้ว +1

      You need to add "dart" to your environment variables. And then it should work. The link in the description I think should help 😊

    • @paanoop
      @paanoop 3 ปีที่แล้ว

      Thanks mate! This worked for me

  • @richardmiho
    @richardmiho 3 ปีที่แล้ว

    thanks so much for this. The official documentation makes a whole lot more sense now :)

    • @tadaspetra
      @tadaspetra  3 ปีที่แล้ว

      Glad it was helpful!

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

    Wow, this is so super cool!

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

    can you go over an example with googlemaps and getx?

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

    thanks and please when you have a time can you explain the GetServer ,

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

      I am trying, but it's a tougher one to understand for me

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

      بشار موجود هون وحشتنا مواضيعك ع الديف بوينت

    • @ITPROFESSIONAL
      @ITPROFESSIONAL 3 ปีที่แล้ว

      @@irizerxchannel6702 اهلا اخي الحبيب عساك بخير ان شاء الله
      نعم تعلمت فلاتر واصبحت اتابع شروحاتها
      بخصوص الديف بوينت تركته من زمان اخي
      وفتحت منتدى لي
      هنا رابطه
      protection-tips.com/vb/
      ولكن لااعتني به اوقفته سنة ومن ثم اعدت فتحته ولكن بقاعدة بيانات قديمة يعني كثير من المواضيع التي كانت موجودة لم تعد فيه
      لو احببت سجل هنالك

  • @kerryleehartley
    @kerryleehartley 4 ปีที่แล้ว +1

    7:35 How do you create a JSON file ?? Really new and I tried but when I tried to generate I got "input directory is empty." in my terminal

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

      NVM I was overthinking. I found the solution. I simply created the file in VS Code

    • @tadaspetra
      @tadaspetra  4 ปีที่แล้ว

      Kerry Lee Hartley haha yep, glad you figured it out

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

    Amazing vids bro

  • @ladesmond4933
    @ladesmond4933 3 ปีที่แล้ว

    Wow, thanks for the video. GetX is super flexible and so cool.
    Please how can I use the locales generated with "get generate locales assets/locales" ? 8:20 thanks 🙏🏾

  • @irhas6555
    @irhas6555 4 ปีที่แล้ว +1

    Do you have published production app?

    • @tadaspetra
      @tadaspetra  4 ปีที่แล้ว

      i have a couple apps in beta. Still working on one to actually publish to production 😊

    • @medsed1133
      @medsed1133 4 ปีที่แล้ว +1

      @@tadaspetra whats beta vs production thx

    • @tadaspetra
      @tadaspetra  4 ปีที่แล้ว

      Mohamed Sedki on the App Store you can launch in 3 phases. Alpha, Beta, and full release. So the beta publishes your app the the “early access” tab if you’ve seen that on the play store

    • @medsed1133
      @medsed1133 4 ปีที่แล้ว +1

      @@tadaspetra I see so those different phases are related to publishing not the actual development cycle cool

    • @tadaspetra
      @tadaspetra  4 ปีที่แล้ว

      Mohamed Sedki so both kind of. You want to put your app in beta first so you can have some people download and give some feedback before the official launch

  • @GoodLife-ru8di
    @GoodLife-ru8di 3 ปีที่แล้ว

    This reminds me Ruby on Rails.

  • @elgusotube11
    @elgusotube11 4 ปีที่แล้ว +1

    Good video. Do you think it is possible to you make a video with a sample project using getx cli, using getx pattern and the integral tests and widgets test? GetX is very, very impressive.

    • @tadaspetra
      @tadaspetra  4 ปีที่แล้ว

      I have my next couple of videos planned, out but maybe after. Thanks for the suggestion! Only issue, is I am not the biggest fan of getx pattern 😅. Nothing wrong with it from a technical standpoint, I just don't like the idea of a controller per page

    • @elgusotube11
      @elgusotube11 4 ปีที่แล้ว +1

      @@tadaspetra Thanks for your answer. Why do you think clean pattern is better? It is just curiosity, if it is not annoying I would like to know a little more about the difference between both patterns. I am learning GetX and your videos are very good to learn. That's why the suggestion of the GetX pattern but it would still be good to see the test cycle with GetX even with Clean Pattern

    • @tadaspetra
      @tadaspetra  4 ปีที่แล้ว +1

      @@elgusotube11 I don't like the clean pattern either 😂. The one I use is similar to MVC, the most recent video about file structure goes over it. Overall I think it comes down to personal taste. I like the idea of "controllers" being used only for big app features. Not per screen. In my opinion it gets a bit cluttered with controllers everywhere. But, for some people it makes it a lot easier, and thats perfectly fine. I think it is just mostly a preference thing. In my opinion, its best to just find an architecture that works best for you, and just stick with it 😊

    • @elgusotube11
      @elgusotube11 4 ปีที่แล้ว +1

      @@tadaspetra Hopefully if you can make some unit and widget test videos with GetX. Since I don't have much practice in that. Thanks a lot.

  • @dannygunawan
    @dannygunawan 3 ปีที่แล้ว

    this CLI is awesome!

    • @tadaspetra
      @tadaspetra  3 ปีที่แล้ว

      It is very useful 😊

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

    2:55 It sounds like "cow-E", a common Brazilian name, but very hard to pronounce in english xD

    • @tadaspetra
      @tadaspetra  4 ปีที่แล้ว +1

      Heigler Rocha I should of tried it 😊. But thank you for informing me. Next time I will try to say it

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

    coolest fluter video

  • @thomasmabika7291
    @thomasmabika7291 4 ปีที่แล้ว

    hey can you check out GetTests? I saw on their pub.dev's changelog that they added some tools to help with unit tests but couldn't find any other info on the subject.

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

    the background music please

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

    No active package get_cli?
    getting error

  • @kittylombardo1476
    @kittylombardo1476 4 ปีที่แล้ว

    I have some problem when i wont to create a page (( Can't load Kernel binary: Invalid kernel binary format version.
    The page [home] already exists, do you want to overwrite it?
    1) Yes
    2) No
    1
    Checking project type
    Flutter project detected!
    ✖ Folder app/modules/home not found
    ✖ Unexpected error occurred:
    NoSuchMethodError: The getter 'path' was called on null.
    Receiver: null
    Tried calling: path))

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

    Thanks for this video. I can't follow for some reason.
    I run "get create project" and it asks me for the project name. When I hit enter it doesn't matter if I'm in vscode or in command prompt, it just hangs and never asks the next question. Does anyone know how to fix this ?

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

      Found a workaround for anyone else with the same issue.
      > flutter create project
      > get init
      this creates a standard flutter project then overwrites it with get_cli.

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

    Why not just make a VSCode extension instead of a CLI?

    • @tadaspetra
      @tadaspetra  4 ปีที่แล้ว +1

      SuperHansburger93 🤷‍♂️ maybe that is coming too

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

      In fact there is one. It's called "GetX Snippets".

  • @codemoor
    @codemoor 3 ปีที่แล้ว

    For linux user I use this command : dart pub global activate get_cli

  • @hoekbrwr
    @hoekbrwr 4 ปีที่แล้ว +1

    I am using GetX on a Windows 10 with VSCode. I can run and install get_cli with the dart command in front of your pub global activate get_cli. I have put the directory where the get.bat has been stored in my path. get. But this batch file is not recognized showing this
    get : The term 'get' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
    correct and try again.
    At line:1 char:1
    + get
    + ~~~
    + CategoryInfo : ObjectNotFound: (get:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
    I am completely lost on what to do with this!

    • @tadaspetra
      @tadaspetra  4 ปีที่แล้ว

      Oh man I’m not sure. It seems like something with environment variables

    • @hoekbrwr
      @hoekbrwr 4 ปีที่แล้ว

      @@tadaspetra Anyone with experience installing this on Windows 10 VSCode?

    • @sergioduarte6857
      @sergioduarte6857 3 ปีที่แล้ว

      Try to install it from your desktop. Open CLI write the command "dart pub global activate get_cli". After this if you get a message telling you something about your path, you have to open windows variable, go to Path and add the route that the cli message tells. Next step restart your laptop, try again with the first command "dart pub global activate get_cli", you wont get the message telling you about the Path and you can use the commands.

  • @mydrama6980
    @mydrama6980 4 ปีที่แล้ว

    I am using .obs and it doesn't detect the data change I have to restart the app to see the change, I have also a refresh button which only works after it gets the first data or else it doesn't work I tried both Obx and GetX and the data is coming from an api.........what shall I do

    • @mydrama6980
      @mydrama6980 4 ปีที่แล้ว

      simply it's not making this observable => var x=List.obs the other variables have been observable but I can't make this one

  • @najafsikander8760
    @najafsikander8760 4 ปีที่แล้ว

    Hi my controllers are being auto disposed and removed from memory how can I stop.it

  • @ronaldoolesco7493
    @ronaldoolesco7493 4 ปีที่แล้ว +1

    btw great video!!!

  • @shahzadasalman8461
    @shahzadasalman8461 4 ปีที่แล้ว +1

    thanks

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

    i can't fix path windows 10

  • @MrZawe
    @MrZawe 4 ปีที่แล้ว +10

    wow i am gonna be lazier than before

    • @tadaspetra
      @tadaspetra  4 ปีที่แล้ว

      Zawe haha but also more efficient!

    • @nuba1981
      @nuba1981 4 ปีที่แล้ว +1

      lol

    • @dannygunawan
      @dannygunawan 3 ปีที่แล้ว

      programmers are born to be lazy :D

  • @onuryldrm1840
    @onuryldrm1840 4 ปีที่แล้ว +1

    thx bro

    • @tadaspetra
      @tadaspetra  4 ปีที่แล้ว

      onur yıldırım thanks for watching

  • @irhas6555
    @irhas6555 4 ปีที่แล้ว +1

    Cool

    • @tadaspetra
      @tadaspetra  4 ปีที่แล้ว

      I thought so too 😊