- Notifications
You must be signed in to change notification settings - Fork10
⚽ 💻 The finest Worldcup 2018 CLI.
License
NotificationsYou must be signed in to change notification settings
codeaholicguy/wowcup
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The finest Worldcup 2018 CLI. Inspired bynba-go.
wowcup
is a node command line application written in TypeScript usingoclif (a Node.JS Open CLI Framework).
This is still in its early stages of development, so do expect bugs and errors. Your contributions are very welcome!
All data comes fromapi.football-data.org APIs.
$npm install -g wowcup$wowcup COMMANDrunning command...$wowcup (-v|--version|version)wowcup/0.0.7 darwin-x64 node-v10.3.0$wowcup --help [COMMAND]USAGE $ wowcup COMMAND...
wowcup
provides two main commands.
get worldcup fixtures
USAGE $ wowcup fixturesOPTIONS -h, --help show CLI help -l, --last get last recent fixtures in 24h -n, --next get next recent fixtures in 24h -p, --playing get playing fixtures -q, --quiet do not show splash headerEXAMPLES $ wowcup fixtures $ wowcup fixtures -n $ wowcup fixtures -l $ wowcup fixtures -p
See code:src/commands/fixtures.ts
display help for wowcup
USAGE $ wowcup help [COMMAND]ARGUMENTS COMMAND command to show help forOPTIONS --all see all commands in CLI
See code:@oclif/plugin-help
get worldcup standings
USAGE $ wowcup standingsOPTIONS -h, --help show CLI help -q, --quiet do not show splash header -t, --table=table get standings by tableEXAMPLES $ wowcup standings $ wowcup standings -t a
See code:src/commands/standings.ts
The following is step-by-step instruction to runwowcup
on your local computer.
$ git clone https://github.com/codeaholicguy/wowcup.git$ cd wowcup$ yarn$ bin/run <command>