Crates.io | playdate-cli |
lib.rs | playdate-cli |
version | 0.0.15 |
source | src |
created_at | 2023-08-25 00:44:31.378253 |
updated_at | 2023-09-18 12:37:20.904588 |
description | The CLI tools for playdate-rs |
homepage | https://github.com/rusty-crank/playdate-rs |
repository | https://github.com/rusty-crank/playdate-rs |
max_upload_size | |
id | 954258 |
size | 59,195 |
The CLI tools for github.com/rusty-crank/playdate-rs.
Install it by running: cargo install playdate-cli
.
PLAYDATE_SDK_PATH
is correctly set.
cargo install playdate-cli
cargo playdate new hello-world
cd hello-world && cargo playdate run
Please refer to github.com/rusty-crank/playdate-rs for more details on how to use the playdate-rs
package, and docs.rs/playdate-rs for the API documentation.
cargo playdate new <PATH>
Create a new cargo playdate package
Usage: cargo-playdate new <PATH>
Arguments:
<PATH>
Options:
-h, --help Print help
cargo playdate init
Create a new cargo playdate package in an existing directory
Usage: cargo-playdate init [PATH]
Arguments:
[PATH] [default: .]
Options:
-h, --help Print help
cargo playdate build
Compile the current package
Usage: cargo-playdate build [OPTIONS]
Options:
--release Build the project in release mode, with optimizations
--all-features Activate all available features
--no-default-features Do not activate the `default` feature
-F, --features <FEATURES> Space-separated list of features to activate
-p, --package <PACKAGE> Package to process (see `cargo help pkgid`)
--device Build for the real device (default is simulator)
-h, --help Print help
cargo playdate run
Run the local package on the playdate simulator or a device
Usage: cargo-playdate run [OPTIONS]
Options:
--release Build the project in release mode, with optimizations
--all-features Activate all available features
--no-default-features Do not activate the `default` feature
-F, --features <FEATURES> Space-separated list of features to activate
-p, --package <PACKAGE> Package to process (see `cargo help pkgid`)
--device Build for the real device (default is simulator)
-h, --help Print help