/F-clip

Primary LanguagePythonMIT LicenseMIT

F-clip

F-clip is a simple command-line tool that allows users to copy the contents of a text file directly to the clipboard. It supports clearing the clipboard and displaying help information.

Features

  • Copy the contents of a specified text file to the clipboard.
  • Clear the clipboard to remove any existing content.
  • Display help information for usage instructions.

Installation

  1. Clone the Repository (or download the files):

    git clone https://github.com/Cyber-Programer/F-clip.git
  2. Make sure you have Python 3 and the pyperclip library installed:

    pip install pyperclip
  3. Run the setup script:

    bash setup.sh

Usage

You can use F-clip in the terminal with the following commands:

Copy File Contents to Clipboard

To copy the contents of a file to the clipboard, use:

F-clip <filename>

Example

F-clip data.txt

Clear the Clipboard

  • To clear the clipboard content, use:
F-clip --clear
  • Also use
F-clip -clr

Show Help Information

  • To display usage instructions, use:
F-clip --help

Example:

F-clip myfile.txt
F-clip --clear
F-clip --help