diff options
Diffstat (limited to 'src/util/help.ts')
| -rw-r--r-- | src/util/help.ts | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/util/help.ts b/src/util/help.ts new file mode 100644 index 0000000..e935f2c --- /dev/null +++ b/src/util/help.ts @@ -0,0 +1,24 @@ +export function help(): void { + console.log( + "\ncountryfetch\n", + "\tFetch information about countries", + "\n", + "\nUSAGE\n", + "\tcountryfetch <ARGS>", + "\n", + "\nARGS:\n", + "\tsync", + "\n\t\tSynchronize database. Stores countries' data in ~/.cache/conntryfetch/countries.json.", + "\n", + "\n\trandom", + "\n\t\tPrint information about a random country.", + "\n", + "\n\t<country_name>", + "\n\t\tPrint information about a specific country.", + "\n", + "\nEXAMPLE:\n", + "\tcountryfetch germany", + "\n\t\tPrints information about Germany", + "\n" + ); +} |
