0.1.18 • Published 6 months ago
@bdgt/cli v0.1.18
Bdgt CLI
A command-line interface tool for managing your budget.
Installation
npm install -g @bdgt/cliUsage
bdgt --helpAuthentication
Before using the CLI, you need to authenticate with your API token:
# Login with your API token
bdgt auth login
# Check authentication status
bdgt auth status
# Set custom API URL (defaults to http://localhost:3001)
bdgt auth set-url
# Logout
bdgt auth logoutCommands
bdgt auth login- Set up authentication with an API tokenbdgt auth logout- Remove stored authenticationbdgt auth status- Check authentication statusbdgt auth set-url- Set the API URL
Development
# Install dependencies
npm install
# Run tests
npm test
# Build the project
npm run build
# Run in development mode
npm run devRequirements
- Node.js >= 16.0.0
License
MIT