#gamedev #firefly-zero #command-line-tool #cli

app firefly_cli

CLI tool for working with Firefly Zero

18 releases (7 breaking)

0.8.3 Jan 2, 2025
0.8.1 Dec 23, 2024
0.7.0 Nov 25, 2024
0.3.2 Jun 24, 2024

#402 in Game dev

Download history 14/week @ 2024-09-18 9/week @ 2024-09-25 3/week @ 2024-10-02 119/week @ 2024-10-16 13/week @ 2024-10-23 4/week @ 2024-10-30 4/week @ 2024-11-06 103/week @ 2024-11-13 136/week @ 2024-11-20 36/week @ 2024-11-27 7/week @ 2024-12-04 8/week @ 2024-12-11 205/week @ 2024-12-18 41/week @ 2024-12-25 255/week @ 2025-01-01

516 downloads per month

MIT license

160KB
4K SLoC

firefly-cli

[ 🐙 github ] [ 📦 crates.io ]

Swiss army knife CLI tool for working with Firefly Zero: build, upload, and publish apps, control device, etc.

📥 Installation

  • Grab the binary from the latest release and put it somewhere into $PATH.

  • Or install using cargo (the Rust package manager):

    cargo install firefly_cli
    
  • Or install dev version from the source:

    git clone --depth 1 https://github.com/firefly-zero/firefly-cli.git
    cd firefly-cli
    cargo install --path .
    

See the Installation page in the Firefly Zero docs for a more detailed guide.

🔧 Usage

# build an app and install it into VFS
firefly_cli build

# export an app installed in VFS
firefly_cli export --id sys.input-test

# install an exported app into VFS
firefly_cli import sys.input-test.zip

There are more commands. Most of them are covered in the dev docs. Specifically, in Getting Started and Debugging. Run firefly_cli --help to get the full list of available commands.

Dependencies

~24–36MB
~578K SLoC