cli's People
Forkers
hypercodeccli's Issues
not all gitignore syntax is covered
There's still all kinds of regex syntax that is not covered by the gitignore parser thingy.
`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.
Use type-enforced, deserailizable struct for parsing manifest.
By using a serde Deserialize
struct, you can enforce the manifest without writing a ton of code that could easily break if anything is changed or a new field is added. More secure and less lines of code to write.
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(¤t_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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.