vocably-cli
v0.1.0
Published
Vocabulary management CLI for Hindi speakers learning English
Maintainers
Readme
@vocably/cli
Command-line interface for managing your English vocabulary. Built for Hindi speakers learning English.
Installation
npm install -g @vocably/cliOr run directly with npx:
npx @vocably/cli add "serendipity"Quick Start
Get your API token from vocab.surajgaud.com → Settings → API Keys
Authenticate:
vocably auth login <your-token>- Start adding words:
vocably add "ephemeral"Commands
vocably add <word>
Add a new word to your vocabulary with AI-powered definitions and examples.
vocably add "serendipity"
vocably add "ephemeral" --notes "heard in a podcast"
vocably add "ubiquitous" --context "tech article" --no-aiOptions:
-n, --notes <notes>- Personal notes about the word-c, --context <context>- Where you encountered the word--no-ai- Skip AI-powered definition enrichment
vocably list
List your vocabulary words.
vocably list
vocably list --limit 50
vocably list --category "technology"Options:
-l, --limit <number>- Number of words to show (default: 20)--category <name>- Filter by category
vocably search <query>
Search through your vocabulary.
vocably search "happy"vocably remove <word>
Remove a word from your vocabulary.
vocably remove "obsolete"vocably auth
Manage authentication.
vocably auth login <token> # Save your API token
vocably auth logout # Remove credentials
vocably auth status # Check authentication statusvocably config
View CLI configuration.
vocably config show # Display current configuration
vocably config path # Show config file locationAliases
Both vocably and vocab commands are available:
vocab add "word" # Same as vocably add "word"
vocab list # Same as vocably listConfiguration
Configuration is stored in ~/.vocably/config.json:
{
"apiUrl": "https://vocab.surajgaud.com/api",
"token": "vocab_xxxx..."
}Requirements
- Node.js 18 or higher
License
MIT
