136 lines
14 KiB
Plaintext
136 lines
14 KiB
Plaintext
[38;5;12m [39m[38;2;255;187;0m[1m[4mAwesome CLI[0m
|
||
|
||
[38;5;12mAwesome CLI is a simple command line tool to give you a fancy command line interface to dive into [39m[38;5;14m[1mAwesome[0m[38;5;12m (https://github.com/sindresorhus/awesome) lists.[39m
|
||
|
||
[38;5;12m![39m[38;5;14m[1mAWESOME CLI[0m[38;5;12m (./assets/images/awesome-cli-banner.png)[39m
|
||
|
||
[38;5;12m![39m[38;5;14m[1mBuild[0m[38;5;12m (https://github.com/umutphp/awesome-cli/workflows/Test%20&%20Build/badge.svg) ![39m[38;5;14m[1mWOSPM Checker[0m[38;5;12m (https://github.com/umutphp/awesome-cli/workflows/WOSPM%20Checker/badge.svg)[39m
|
||
|
||
[38;5;238m―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――[39m
|
||
|
||
|
||
|
||
|
||
[38;5;12m- [39m[38;5;14m[1mIntroduction[0m[38;5;12m (#introduction)[39m
|
||
[38;5;12m- [39m[38;5;14m[1mHow To Use[0m[38;5;12m (#how-to-use)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mInteractive Mode[0m[38;5;12m (#interactive-mode)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mRandom Mode[0m[38;5;12m (#random-mode)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mSurprise Mode[0m[38;5;12m (#surprise-mode)[39m
|
||
[38;5;12m- [39m[38;5;14m[1mHow To Install[0m[38;5;12m (#how-to-install)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mBasic[0m[38;5;12m (#basic)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mBuild as binary[0m[38;5;12m (#build-as-binary)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mDownload and use official binary[0m[38;5;12m (#download-and-use-official-binary)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mCLI Options[0m[38;5;12m (#cli-options)[39m
|
||
[38;5;12m - [39m[38;5;14m[1mSample Execution[0m[38;5;12m (#sample-execution)[39m
|
||
[38;5;12m- [39m[38;5;14m[1mHow To Contribute[0m[38;5;12m (#how-to-contribute)[39m
|
||
|
||
|
||
[38;5;238m―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――[39m
|
||
|
||
[38;2;255;187;0m[4mIntroduction[0m
|
||
|
||
[38;5;12mThe[39m[38;5;12m [39m[38;5;12mCLI[39m[38;5;12m [39m[38;5;12mstarts[39m[38;5;12m [39m[38;5;12mwith[39m[38;5;12m [39m[38;5;12mthe[39m[38;5;12m [39m[38;5;12mroot[39m[38;5;12m [39m[38;5;12mrepository[39m[38;5;12m [39m[38;5;14m[1msindresorhus/awesome[0m[38;5;12m [39m[38;5;12m(https://github.com/sindresorhus/awesome)[39m[38;5;12m [39m[38;5;12mand[39m[38;5;12m [39m[38;5;12mguides[39m[38;5;12m [39m[38;5;12mto[39m[38;5;12m [39m[38;5;12mto[39m[38;5;12m [39m[38;5;12mthe[39m[38;5;12m [39m[38;5;12mfinal[39m[38;5;12m [39m[38;5;12mrepo[39m[38;5;12m [39m[38;5;12maccording[39m[38;5;12m [39m[38;5;12mto[39m[38;5;12m [39m[38;5;12myour[39m[38;5;12m [39m[38;5;12mchoices.[39m[38;5;12m [39m[38;5;12mIt[39m[38;5;12m [39m[38;5;12mfetches[39m[38;5;12m [39m[38;5;12mReadme[39m[38;5;12m [39m[38;5;12mfiles[39m[38;5;12m [39m[38;5;12mof[39m[38;5;12m [39m
|
||
[38;5;12mthe[39m[38;5;12m [39m[38;5;12mrepositories[39m[38;5;12m [39m[38;5;12mand[39m[38;5;12m [39m[38;5;12mparses[39m[38;5;12m [39m[38;5;12mthem[39m[38;5;12m [39m[38;5;12mto[39m[38;5;12m [39m[38;5;12mcreate[39m[38;5;12m [39m[38;5;12mthe[39m[38;5;12m [39m[38;5;12mselect[39m[38;5;12m [39m[38;5;12mlists.[39m[38;5;12m [39m[38;5;12mSo,[39m[38;5;12m [39m[38;5;12mthe[39m[38;5;12m [39m[38;5;12mCLI[39m[38;5;12m [39m[38;5;12mneeds[39m[38;5;12m [39m[38;5;12ma[39m[38;5;12m [39m[38;5;12mworking[39m[38;5;12m [39m[38;5;12mnetwork[39m[38;5;12m [39m[38;5;12m:).[39m[38;5;12m [39m[38;5;12mIt[39m[38;5;12m [39m[38;5;12malso[39m[38;5;12m [39m[38;5;12muses[39m[38;5;12m [39m[38;5;12mfile[39m[38;5;12m [39m[38;5;12mcaches[39m[38;5;12m [39m[38;5;12mto[39m[38;5;12m [39m[38;5;12mcache[39m[38;5;12m [39m[38;5;12mthe[39m[38;5;12m [39m[38;5;12mReadme[39m[38;5;12m [39m[38;5;12mfile[39m[38;5;12m [39m[38;5;12mcontents.[39m[38;5;12m [39m[38;5;12mYou[39m[38;5;12m [39m[38;5;12mcan[39m[38;5;12m [39m[38;5;12mfind[39m[38;5;12m [39m[38;5;12mthe[39m[38;5;12m [39m[38;5;12mcache[39m[38;5;12m [39m[38;5;12mfolder[39m[38;5;12m [39m
|
||
[38;5;12mwith[39m[38;5;12m [39m[38;5;12mname[39m[38;5;12m [39m[38;5;12m".awesomecache"[39m[38;5;12m [39m[38;5;12munder[39m[38;5;12m [39m[38;5;12myour[39m[38;5;12m [39m[38;5;12mhome[39m[38;5;12m [39m[38;5;12mfolder.[39m
|
||
|
||
[38;5;12m![39m[38;5;14m[1mAvesome-cli Sample[0m[38;5;12m (./assets/images/awesome-cli.gif)[39m
|
||
|
||
[38;2;255;187;0m[4mHow To Use[0m
|
||
|
||
[38;2;255;187;0m[4mInteractive Mode[0m
|
||
|
||
[38;5;12mIn[39m[38;5;12m [39m[38;5;12morder[39m[38;5;12m [39m[38;5;12mto[39m[38;5;12m [39m[38;5;12muse[39m[38;5;12m [39m[38;5;12mawesome-cli[39m[38;5;12m [39m[38;5;12minteractively,[39m[38;5;12m [39m[38;5;12mjust[39m[38;5;12m [39m[38;5;12mexecute[39m[38;5;12m [39m[38;5;12mit[39m[38;5;12m [39m[38;5;12mwithout[39m[38;5;12m [39m[38;5;12mgiving[39m[38;5;12m [39m[38;5;12many[39m[38;5;12m [39m[38;5;12moption.[39m[38;5;12m [39m[38;5;12mYou[39m[38;5;12m [39m[38;5;12mwill[39m[38;5;12m [39m[38;5;12mwalk[39m[38;5;12m [39m[38;5;12mthrough[39m[38;5;12m [39m[38;5;12mthe[39m[38;5;12m [39m[38;5;12mcategories[39m[38;5;12m [39m[38;5;12mand[39m[38;5;12m [39m[38;5;12mrepositories[39m[38;5;12m [39m[38;5;12mby[39m[38;5;12m [39m[38;5;12musing[39m[38;5;12m [39m[38;5;12m"↓[39m[38;5;12m [39m[38;5;12m↑[39m[38;5;12m [39m[38;5;12m→[39m[38;5;12m [39m[38;5;12m←"[39m[38;5;12m [39m[38;5;12mbuttons.[39m[38;5;12m [39m[38;5;12mYour[39m[38;5;12m [39m[38;5;12mchoices[39m[38;5;12m [39m[38;5;12mwill[39m[38;5;12m [39m[38;5;12mbe[39m[38;5;12m [39m
|
||
[38;5;12msaved[39m[38;5;12m [39m[38;5;12mto[39m[38;5;12m [39m[38;5;12muse[39m[38;5;12m [39m[38;5;12mthem[39m[38;5;12m [39m[38;5;12min[39m[38;5;12m [39m[38;5;14m[1msurprise[0m[38;5;14m[1m [0m[38;5;14m[1mmode[0m[38;5;12m [39m[38;5;12m(#surprise-mode).[39m
|
||
|
||
[48;5;235m[38;5;249m> $ awesome-cli[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249mUse the arrow keys to navigate: ↓ ↑ → ← [49m[39m
|
||
[48;5;235m[38;5;249m? Select from 'Awesome' list: [49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m ▸ Platforms[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m Programming Languages[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m Front-End Development[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m Back-End Development[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m Computer Science[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m Big Data[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m Theory[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m Books[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m Editors[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m↓ Gaming[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
|
||
[38;2;255;187;0m[4mRandom Mode[0m
|
||
|
||
[38;5;12mYou can use "random" option to go a random awesome repository under a random category.[39m
|
||
|
||
[48;5;235m[38;5;249m> $ awesome-cli random[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249maweome-cli Version 0.3.0[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m✔ Programming Languages[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m✔ Eta[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m✔ Community[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m✔ IRC[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249mhttps://kiwiirc.com/client/irc.freenode.net/#eta-lang[49m[39m
|
||
|
||
[38;2;255;187;0m[4mSurprise Mode[0m
|
||
|
||
[38;5;12mWhen you use "surprise" option, awesome-cli will use your previous selections in [39m[38;5;14m[1minteractive mode[0m[38;5;12m (#interactive-mode) to find a random repository for you.[39m
|
||
|
||
[48;5;235m[38;5;249m> $ awesome-cli surprise[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249maweome-cli Version 0.3.0[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m✔ Back-End Development[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m✔ Docker[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m✔ Videos[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m✔ From Local Docker Development to Production Deployments[49m[39m
|
||
[48;5;235m[38;5;249mhttps://www.youtube.com/watch?v=7CZFpHUPqXw[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
|
||
[38;2;255;187;0m[4mHow To Install[0m
|
||
|
||
[38;2;255;187;0m[4mBasic[0m
|
||
|
||
[38;5;12mFollow the steps;[39m
|
||
|
||
[48;5;235m[38;5;249m> $ git clone git@github.com:umutphp/awesome-cli.git[49m[39m
|
||
[48;5;235m[38;5;249m> $ cd awesome-cli[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m> $ go run main.go[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
|
||
[38;2;255;187;0m[4mBuild as binary[0m
|
||
|
||
[38;5;12mFollow the steps;[39m
|
||
|
||
[48;5;235m[38;5;249m> $ git clone git@github.com:umutphp/awesome-cli.git[49m[39m
|
||
[48;5;235m[38;5;249m> $ cd awesome-cli[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m> $ sudo go build -o /usr/local/bin/awesome-cli .[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m> $ awesome-cli[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
|
||
[38;2;255;187;0m[4mDownload and use official binary[0m
|
||
|
||
[38;5;12mVisit the [39m[38;5;14m[1mlatest release[0m[38;5;12m (https://github.com/umutphp/awesome-cli/releases/latest) page, download the zip correspondingly and extract the zip. You can used the binary in the zip file. [39m
|
||
|
||
[48;5;235m[38;5;249m> $ cp /path/to/zip/extract/awesome-cli /usr/local/bin/awesome-cli[49m[39m
|
||
[48;5;235m[38;5;249m> $ awesome-cli[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
|
||
[38;2;255;187;0m[4mCLI Options[0m
|
||
|
||
[38;5;12mThe CLI works in interactive mode without any given option. But, It can be also called some options described below;[39m
|
||
|
||
[48;5;235m[38;5;249m> $ awesome-cli help[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249mawesome-cli Version 0.6.0[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249mOptions of awesome-cli:[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m help To print this screen.[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m random To go to a random awesome content.[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m surprise To go to a surprise awesome content according to your previos choices.[49m[39m
|
||
[48;5;235m[38;5;249m profile To see your previous choices.[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m reset To clean your choices to start from the beginning.[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m update Update awesome-cli to the latest version.[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
|
||
[38;2;255;187;0m[4mSample Execution[0m
|
||
|
||
[48;5;235m[38;5;249m> $ awesome-cli random[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249maweome-cli Version 0.2.0[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m✔ Platforms[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m✔ Linux[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m✔ Applications[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249m✔ Gedit[49m[39m[48;5;235m[38;5;249m [49m[39m
|
||
[48;5;235m[38;5;249mhttps://wiki.gnome.org/Apps/Gedit[49m[39m
|
||
|
||
[38;2;255;187;0m[4mHow To Contribute[0m
|
||
[38;5;12mPlease follow the instructions in [39m[38;5;14m[1mCONTRIBUTING[0m[38;5;12m (CONTRIBUTING.md) file and beware of [39m[38;5;14m[1mCODE_OF_CONDUCT[0m[38;5;12m (CODE_OF_CONDUCT).[39m
|