0.1.3 • Published 10 months ago
taok v0.1.3
taok
A command line interface for interacting with Taok APIs. With
taok
, you can perform various tasks such as getting user information, logging in to the Taok service, and engaging in chat conversations with Taok.
Installation
npm install -g taok
yarn global add taok
Usage
> taok --help
A command line interface for interacting with taok apis
VERSION
taok/0.1.0 darwin-x64 node-v18.16.1
USAGE
$ taok [COMMAND]
TOPICS
config Manage the configuration files
plugins List installed plugins.
COMMANDS
ask Chat with taok service
chat Chat with taok service
config Manage the configuration files
help Display help for taok.
login Login to taok service
me get current user info
plugins List installed plugins.
Commands
taok login
Login to taok service.
> taok login
Enter your username, email, or phone number [some_user]:
Enter your password: ********
Logged in as some_user
taok me
Get current user info.
> taok me
{
"id": "some_user",
"name": "Some User",
"email": "some_user@example.com",
...
}
taok ask
Chat with taok service.
> taok ask --help
Chat with taok service
USAGE
$ taok ask [PROMPT] [-c] [-d] [-s] [-t <value>]
ARGUMENTS
PROMPT Ask Taok a question
FLAGS
-c, --continue Continue last conversation
-d, --debug Enable debug mode
-s, --stream Enable stream mode
-t, --timeout=<value> [default: 10000] Timeout in milliseconds
DESCRIPTION
Chat with taok service
ALIASES
$ taok chat
> taok ask "What is the meaning of life?"
The meaning of life is subjective and can vary from person to person. It is a philosophical question that has
been contemplated by humans for centuries. Some find meaning in personal achievements, relationships, spiritual
or religious beliefs, or contributing to the well-being of others and society. Ultimately, it is up to each
individual to find their own sense of purpose and meaning in life.
you can also use taok ask -c
to continue a conversation.
> taok ask -c "Can you tell me more?"
Certainly! The question of the meaning of life has been pondered by philosophers, theologians, and thinkers throughout
history. Here are a few perspectives on this complex topic:
1. Religious and spiritual beliefs: Many religions offer explanations for the purpose of human existence. They often
involve concepts such as fulfilling a divine plan, attaining enlightenment, or seeking union with a higher power.
2. Personal fulfillment and happiness: Some people find meaning in pursuing their passions, personal growth, and
experiencing joy and contentment in life. This perspective emphasizes individual well-being and the pursuit of
happiness as the primary goal.
...
taok config
Manage the configuration files.
> taok config --help
Manage the configuration files
USAGE
$ taok config [-c <value>] [-d <value>] [-q]
FLAGS
-c, --name=<value> config file name
-d, --cwd=<value> config file location
-q, --quiet quiet
DESCRIPTION
Manage the configuration files
COMMANDS
config clear clear configuration
config del delete configuration
config get get configuration
config list list configuration
config set set configuration
License
This project is licensed under the MIT License License.