Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
lxmcf199577y@sunfishcc probably just open up visual studio and create a blank command prompt application and mess around with the default functions from there
-
coolq48247y@sunfishcc
Visual(VS) C++ in windows actually gives you a lot of control over the command prompt, there's an engine called olcConsoleGameEngine which uses the CMD for drawing :)
You can get surprisingly good results... -
coolq48247y@sunfishcc
Oh right, got carried away and thought you meant TUI.
Yeah, you can get argument parsers which parse command line inputs that are given to your program. Or you can create your own. From Python I just like to make my own with "sys.argv", or sometimes I use the argparse library. It really depends on the programming language for this kind of thing.
Any context? Bash scripts can accept command line arguments too :) -
@coolq the basic idea is that I got couple of commonly used React templates. I want to run command line to generate new files based on some parameters, so I don't have to type the same thing over and over again 😂
-
@coolq nothing too funcy. I will look into it if I got time tomorrow. (Sounds really bad 😓)
-
@coolq I take a look at express-generator. Seem use node.js is the correct way to doing this. Working on it now
How to know when you're bored?
You feel like building CLI based applications for social media like twitter (And i swear i didn't steal the idea form the devrant version of this)
rant