Back to Flutter Rust Bridge

Frb Codegen Command Create

website/docs/generated/_frb-codegen-command-create.mdx

2.12.0873 B
Original Source
Create a new Flutter + Rust project

Usage: flutter_rust_bridge_codegen create [OPTIONS] <NAME>

Arguments:
  <NAME>
          Name of the new project

Options:
      --org <ORG>
          The organization responsible for your new Flutter project, in reverse domain name notation

      --rust-crate-name <RUST_CRATE_NAME>
          The name of the generated Rust crate

      --rust-crate-dir <RUST_CRATE_DIR>
          The directory of the generated Rust crate, relative to the project path

  -t, --template <TEMPLATE>
          The template type to use to generate the flutter files
          
          [default: app]

          Possible values:
          - app:    (default) a Flutter application
          - plugin: A shareable Flutter project that can be used across multiple Flutter applications

  -h, --help
          Print help (see a summary with '-h')