onepub-dev / dcli

An extensive library and tooling for building console/cli applications and scripts using the Dart programming language.
242 stars 28 forks source link

Add create temp dir function #130

Closed Reductions closed 3 years ago

Reductions commented 3 years ago

I have an idea of how to ignore files when using pub_release. For that, a function for creating a temporary directory will be useful.

I was not sure where will be the best place to put that, so I am open to suggestions.

bsutton commented 3 years ago

The filesync class has a tempfile method so maybe there?

On Mon, 5 Apr 2021, 4:50 am Reductions, @.***> wrote:

I have an idea of how to ignore files when using pub_release. For that, a function for creating a temporary directory will be useful.

I was not sure where will be the best place to put that, so I am open to suggestions.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bsutton/dcli/pull/130#issuecomment-813081942, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG32OFGQAWB3SCJO335AYTTHCYH3ANCNFSM42LVP3FA .

bsutton commented 3 years ago

This looks like a reasonable solution.