Skip to content

v0.11.0

Compare
Choose a tag to compare
@BrianPugh BrianPugh released this 04 Jul 13:20
· 27 commits to master since this release

Breaking Changes

  • CLI has been reworked in #96
    • Commands now take positional arguments in an intuitive order.
    • unpack has been renamed to extract.
    # old
    $ littlefs-python create my_dir/ --image=lfs.bin --block-size=4096 --fs-size=1mb
      
    # new
    $ littlefs-python create my_dir/ lfs.bin --block-size=4096 --fs-size=1mb
    # If output binary file not specified, defaults to output "lfs.bin"
    $ littlefs-python create my_dir/ --block-size=4096 --fs-size=1mb
    # old
    $ littlefs-python unpack my_dir/ --image=lfs.bin --block-size=4096 --fs-size=1mb
    
    # new (--fs-size is now inferred from binary)
    $ littlefs-python extract lfs.bin my_dir/ --block-size=4096
    # if output directory not specified, defaults to current directory
    $ littlefs-python extract lfs.bin --block-size=4096
    # old
    $ littlefs-python list  --image=lfs.bin --block-size=4096 --fs-size=1mb
    
    # new (--fs-size is now inferred from binary)
    $ littlefs-python list lfs.bin --block-size=4096

What's Changed

Full Changelog: v0.10.3...v0.11.0