Code Monkey home page Code Monkey logo

topclean's People

Contributors

mertd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

joelvaneenwyk

topclean's Issues

Skip interactive commands by default

This will allow running e.g. topclean && topgrade more smoothly and with less user intervention.
A major version bump would be necessary due to the change in (CLI) API behavior.

CD pipeline

While we have a CI pipeline that executes tests, the build and creation of a GitHub release is still manual.

Create a CD pipeline that builds topclean for Windows, MacOS and Linux and creates a GitHub release.

Manage apps in toml file

Currently, the apps and their clean commands are hardcoded. Instead, they should be stored in and parsed from a toml file.

Bundle supported applications and commands

The application should run when distributed with the topclean executable only. Currently, it requires the config.toml as this is where all supported applications and their clean commands are stored.

Examples of how this may be achieved:

  • read external app list using a build script and include in executable
  • maintain app list in .rs file

Improve tests by asserting expected outcome

The current test only does a pretty basic check of whether the cleaning function exits cleanly. However, this would be the case even if e.g. not a single app was cleaned as long as the function itself does not throw an error.

Ideas:

  • use an executable that should be in the path for every dev and/or runner environment and confirm it was executed
  • add a mock app and confirm that it was called with the correct arguments

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.