GithubHelp home page GithubHelp logo

cli's People

Contributors

nyxifyy avatar c-h-a-r avatar hypercodec avatar

Forkers

hypercodec

cli's Issues

`zip file already exists` prompt is kind of useless

Pretty much every major build tool automatically overwrites existing build automatically. Consider either removing the prompt or only enforcing it if some "prompt on overwrite" flag is provided.

Also, minimizing the amount of secondary prompts will make it easier for people to make workflows to automatically build and publish things. The standard for this when a yes/no prompt is necessary is to add an optional --yes flag (alias -y) that skips the prompt,

Allow-dirty flag (and better error message)

Using something like --allow-dirty to skip the git checking latest commit step will allow people who know what they are doing to use the command with uncommitted changes.

Also, allowing dirty should probably be the default for the build command but not the publish command unless we are having the user manually upload zips.

Build Command

type annotations needed for `(Vec<&Path>, Vec<_>) at line 77 as ignore_dirs

line 132 at entry?;
line 134 at path.strip_prefix(&current_dir)?;

`?` couldn't convert the error to `std::io::Error`
the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
the following other types implement trait `From<T>`:
  <std::io::Error as From<anstyle_wincon::windows::inner::IoError>>
  <std::io::Error as From<tempfile::file::PersistError<F>>>
  <std::io::Error as From<walkdir::error::Error>>
  <std::io::Error as From<bzip2::mem::Error>>
  <std::io::Error as From<tempfile::file::PathPersistError>>
  <std::io::Error as From<ZipError>>
  <std::io::Error as From<flate2::mem::DecompressError>>
  <std::io::Error as From<flate2::mem::CompressError>>
and 3 others

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.