Skip to content

Latest commit

 

History

History
80 lines (54 loc) · 1.95 KB

CHANGELOG.md

File metadata and controls

80 lines (54 loc) · 1.95 KB

Changelog

All notable changes to this project will be documented in this file.

[unreleased]

Features

  • Add support for processing directories and add tests
  • Remove time from generated aliases file

Bug Fixes

  • Show error message when readign directories for now
  • Parsing invalid files when using whole directories

Refactor

  • (tests) Organize tests into modules based on pass/fail context

Run

  • cargo fmt

[0.1.3] - 2024-10-17

Features

  • Add syntax tree printer module
  • Find all raw strings and words in bash aliases
  • Simplify alias extraction to first level for now
  • Handle errors in extract_alias function with enum
  • Add validation for nushell
  • Adding nu-parser
  • Add some more cases
  • Command line arguments
  • Write aliases to a file
  • Add error messages to invalid aliases in the output file
  • Add no-comments and debug flags
  • Add no comments flag and help message
  • Add debug mode global variable
  • Add support for ignoring aliases and commands via .aliasignore file
  • Parallelize the conversion process to improve performance
  • Add comments of future todos
  • Add --output flag to specify the output file path and name
  • Add date and time to generated alias file using chrono

Bug Fixes

  • Extract alais name and content using the parser
  • Handle quoted alias names
  • Use nu-cmd-lang context for the engine state creation
  • Add future implementation to README
  • Handle no aliases found or empty files

Refactor

  • Move find_aliases to alias module
  • Replace local tree-sitter-nu submodule with git dependency
  • Rename validate_nu_language to validate_nu_tree_sitter_code
  • Extract proocessing and writing logic to a separated modules

Documentation

  • Update README.md with info about installation and usage

Testing

  • Add validation for alias content using nu-parser
  • Add two examples test files to test the parser

Run

  • Cargo init

Tree-sitter-nu

  • Comment out unused code