This content originally appeared on DEV Community and was authored by akgondber
I want to share a console-fun - command-line app providing stuff to have a fun and watch some animations with texts, figures, etc. and also play different games from the command line.
First of all you need to install this package globally, using your preferred package manager
npm install --global console-fun
or
yarn global add console-fun
Then you can run a console-fun
command. You can also use shorter aliases created for convenience: confun
, cofun
or cofu
.
When running this cli program you can provide a --topic
option - currently there are two different variants - game
and print
and the --item
option.
For example if you want to play colored-stars-watcher
game issue the following command:
console-fun --topic game --item colored-stars-watcher
or using an alias:
cofu --topic game --item colored-stars-watcher
In the print
topic you can do some stuff over text content, for example: read-file
- read file line by line (useful tool that provides support to read file in very handy way): console-fun --topic print --item read-file --subject tmp/bar.txt
hacker-types
- immitates fast coding - type any random keys from the keyboard and there will be populated some snippet at the console (you can surprise your friend by this thing):
console-fun --topic print --item hacker-types
I hope you would find something useful for you from this tool.
This content originally appeared on DEV Community and was authored by akgondber
akgondber | Sciencx (2024-07-21T21:32:50+00:00) Do some interesting stuff with console-fun. Retrieved from https://www.scien.cx/2024/07/21/do-some-interesting-stuff-with-console-fun/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.