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
I always liked GetX, but that makes it even more attractive. Thanks for the video!
Thanks for watching!
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. :)
as always you ahve my like sir! also thanks for using bigger font!
Thank you 😊. And yes hopefully will help people better see the content!
Ok, that blew my mind. Very cool!
It is definitely very useful! I was impressed!
Get will dominate the world soon or almost later.. Thanks for the content!
We will see 😊
Expecting more videos of GetX !
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
You need to add "dart" to your environment variables. And then it should work. The link in the description I think should help 😊
Thanks mate! This worked for me
thanks so much for this. The official documentation makes a whole lot more sense now :)
Glad it was helpful!
Wow, this is so super cool!
can you go over an example with googlemaps and getx?
thanks and please when you have a time can you explain the GetServer ,
I am trying, but it's a tougher one to understand for me
بشار موجود هون وحشتنا مواضيعك ع الديف بوينت
@@irizerxchannel6702 اهلا اخي الحبيب عساك بخير ان شاء الله
نعم تعلمت فلاتر واصبحت اتابع شروحاتها
بخصوص الديف بوينت تركته من زمان اخي
وفتحت منتدى لي
هنا رابطه
protection-tips.com/vb/
ولكن لااعتني به اوقفته سنة ومن ثم اعدت فتحته ولكن بقاعدة بيانات قديمة يعني كثير من المواضيع التي كانت موجودة لم تعد فيه
لو احببت سجل هنالك
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
NVM I was overthinking. I found the solution. I simply created the file in VS Code
Kerry Lee Hartley haha yep, glad you figured it out
Amazing vids bro
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 🙏🏾
Do you have published production app?
i have a couple apps in beta. Still working on one to actually publish to production 😊
@@tadaspetra whats beta vs production thx
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
@@tadaspetra I see so those different phases are related to publishing not the actual development cycle cool
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
This reminds me Ruby on Rails.
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.
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
@@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
@@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 😊
@@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.
this CLI is awesome!
It is very useful 😊
2:55 It sounds like "cow-E", a common Brazilian name, but very hard to pronounce in english xD
Heigler Rocha I should of tried it 😊. But thank you for informing me. Next time I will try to say it
coolest fluter video
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.
the background music please
No active package get_cli?
getting error
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))
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 ?
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.
Why not just make a VSCode extension instead of a CLI?
SuperHansburger93 🤷♂️ maybe that is coming too
In fact there is one. It's called "GetX Snippets".
For linux user I use this command : dart pub global activate get_cli
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!
Oh man I’m not sure. It seems like something with environment variables
@@tadaspetra Anyone with experience installing this on Windows 10 VSCode?
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.
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
simply it's not making this observable => var x=List.obs the other variables have been observable but I can't make this one
Hi my controllers are being auto disposed and removed from memory how can I stop.it
btw great video!!!
Thank you 😊
thanks
i can't fix path windows 10
wow i am gonna be lazier than before
Zawe haha but also more efficient!
lol
programmers are born to be lazy :D
thx bro
onur yıldırım thanks for watching
Cool
I thought so too 😊