Giter VIP home page Giter VIP logo

flattool-cli's Introduction

Flattool Logo a simple icon of a tower crane holding a dangling letter F in front of "lattool"

Flattool is a command line script designed to improve the experience of working with flatpaks through the command line.

Main Features:

  1. Handling Multiple Installs: Flattool allows you to handle multiple flatpak installs in a loop, ensuring that if a match is not found, your entire queue is not lost.
  2. Simplified App Execution: Running apps from the command line becomes easier with Flattool. Instead of using the app's full Application ID, you can simply enter a query for Flattool to match.
  3. Cleanup of Orphaned User Files: Flattool helps you clean up orphaned user data files. It identifies user data files that are not associated with any installed flatpak and offers options to either trash the folder or attempt to install the associated flatpak.

Important Notes:

  • This is my first major project. As a new developer, I appreciate your understanding if there are any bugs.
  • Flattool assumes that flatpak user data is stored within the default location: ~/.var/app.
  • Flattool is not meant to replace flatpak; it simply sends appropriate flatpak commands for the desired actions.

Dependencies:

To use Flattool effectively, you need to ensure the following dependencies are installed on your system:

  • flatpak: Since Flattool is specifically designed for managing flatpak applications, you must have flatpak installed on your system.

Optional dependancies:

  • trash-cli - Utilized to move files to your user's trash instead of perminantly deleting them.
  • gio - gio trash is utilized to move files to your user's trash if trash-cli is not installed.
  • Unfortunately, gio trash is usually only preinstalled with gnome, so if that is not present, then flattool wil default to rm -rf, which will permanently delete specified files.

Installation Steps:

  1. Run the command printf $PATH in your terminal to view the directories in your PATH.
  2. Download the flattool script to one of the directories shown in the previous step. You can use the following command: wget -P /path/to/bin/directory https://raw.githubusercontent.com/heliguy4599/flattool/main/flattool
  3. Navigate to the directory where you downloaded the flattool file and run chmod +x flattool to make it executable.

You're all set! Now you can run flattool using the command flattool --help.

Graphical User interface:

Warehouse is a graphical user interface for flattool, which uses libadwaita and provides the same features (and some others) of flattool-cli.

flattool-cli's People

Contributors

axtloss avatar beryesa avatar heliguy4599 avatar henry-hiles avatar hericiumvevo avatar r4csu avatar

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.