Code Monkey home page Code Monkey logo

addonpacker's People

Watchers

 avatar  avatar

addonpacker's Issues

Handle multiple errors and info

Currently when an error occurs, it will just exit the script without telling the user what went wrong. Adding some sort of way to tell the user what happened would reduce the pain to find out what actually went wrong.

Add a name validation

A suggestion is to add a name validation. This means that whenever a name for an archive is incorrect, it will either prompt the user for a change, or just output and ignore it.

Change/Add script language

The reason for this script is mostly to make it easy to use and handle. However, it might come down that supporting two types of scripts might make it quite troublesome for the user to just "use" it without having to rely on third party programs to run it.

One could create an executable for each platform and still give out a pack.cmd to pick one of them, unless the user knows what they want, which in most cases is not true.

I think that using Python along with PyInstaller could be a start to look first.

This would also make it a lot easier to handle the rough differences from bash and batch which will be more prominent when more features are added. An example could be the lack of realpath, which already exists in Python. That function is required for bash as 7zip somehow cannot handle relative paths.

Even better, it is therefore possible to ditch 7zip altogether and make the script even easier to install as Python already have a library for it that we might have to do ourselves, but in the end it is much easier to modify.

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.