Skip to content

Customizing butane embed's export location #368

@Nekidev

Description

@Nekidev

The current butane embed command is great to be able to distribute files in a single binary, it'd be great if you could also customize the location of the exports. Something like butane embed [LOCATION] being location an optional argument could be great. Maybe making it remember the last location too (not to have to re-enter the location every time you run the command)?

This is great to make butane fit better into the user's project structure. E.g. I have

project/
  .butane/
  src/
    main.rs
    db/
      mod.rs
      models.rs

and being able to fit butane_migrations.rs into project/src/db/migrations.rs would be amazing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions