Skip to content

v0.1.4

Choose a tag to compare

@SepineTam SepineTam released this 09 Aug 04:45

NBER CLI v0.1.4 Release Notes

πŸš€ What's New

This release brings significant improvements to the command-line interface, making the tool more user-friendly and feature-complete.

✨ New Features

🏷️ Version Display

  • Added -v / --version flag to display the current version
  • Version information is dynamically retrieved from package metadata

πŸ“– Enhanced Help System

  • Comprehensive help message with detailed usage examples
  • Structured argument groups for better organization
  • Automatic help display when no arguments are provided
  • Interactive usage examples in help text

🎯 Improved User Experience

  • Smart Argument Handling: Shows help instead of error when no arguments provided
  • Better Error Messages: More informative feedback for invalid inputs
  • Structured CLI: Arguments are now organized into logical groups

πŸ› οΈ Technical Improvements

CLI Structure

  • Added __main__.py to support python -m nber_cli usage
  • Improved argument parsing with better validation
  • Added proper exit codes for different scenarios

Code Quality

  • Enhanced type hints and documentation
  • Better error handling and edge case management
  • Code linting and formatting improvements

πŸ“‹ Usage Examples

# Display version information
nber-cli --version
# Output: NBER CLI v0.1.4

# Display comprehensive help
nber-cli --help

# Download papers with improved CLI
nber-cli -d w1234 w5678
nber-cli --download w1234 --save_path ./papers

πŸ”§ Installation

pip install nber-cli==0.1.4

πŸ“ Files Changed

  • src/nber_cli/__init__.py - Enhanced CLI interface
  • src/nber_cli/__main__.py - Added package entry point
  • pyproject.toml - Version bump to 0.1.4
  • CHANGELOG.md - Comprehensive change log

🎯 Compatibility

  • Python: Requires Python 3.11+
  • Backward Compatible: All existing commands work as before
  • No Breaking Changes: Safe upgrade from v0.1.3

πŸ› Bug Fixes

  • Fixed CLI behavior when no arguments are provided
  • Improved error handling for invalid paper IDs
  • Better file path handling across different operating systems

Full Changelog: v0.1.3...v0.1.4

Download: v0.1.4 Release


This release was generated with ❀️ by Claude Code