Lapfips_Main_Program is a versatile script designed to handle various tasks efficiently. This program provides several functionalities through different commands and options.
The program supports the following functionalities:
- System Updates (-upt)
- File Transfers (-trf, -trfVM)
- Repository Management (-add, -rm)
- File or Repository Opening (-open)
- Run a program with his dependencies (-run)
- Help Display (-help)
Each command is accompanied by its specific set of options to tailor its behavior.
To use the program, ensure you have the following:
- A Linux or macOS environment with Bash installed.
- SCP installed for file transfers.
Clone the repository:
git clone https://github.com/Lapfips/Lapfips_Main_Program.git
cd Lapfips_Main_Program
chmod +x program
./program [command] [options]
Command | Description |
---|---|
-upt |
Update repositories, packages, or other systems. |
-trf |
Transfer files or directories. |
-trfVM |
Transfer files specific to virtual machines. |
-add |
Add a new repository or file. |
-rm |
Remove an existing repository or file. |
-open |
Open files or repositories. |
-help |
Display help for commands or options. |
Manage updates. Example syntax:
./program -upt [options]
Option | Description |
---|---|
-a |
Update all components. |
-p |
Update personnal repositories. |
-o |
Update organizational repositories. |
-l |
Update laboratory repositories. |
-op |
Update optional repositories. |
-ob |
Update obsidian save. |
-help |
Display help specific to -upt . |
Transfer files or directories. Example syntax:
./program -trf [options]
Option | Description |
---|---|
-help |
Display help for file transfer operations. |
Add a repository or file. Example syntax:
./program -add [command] <name>
Option | Description |
---|---|
-p |
Add a personal repository. |
-o |
Add an organizational repository. |
-op |
Add an optional repository. |
-l |
Add a laboratory repository. |
-help |
Display help for adding files or repositories. |
Remove repositories or files. Example syntax:
./program -rm [command] <name>
Option | Description |
---|---|
-p |
Remove a personal repository. |
-o |
Remove an organizational repository. |
-op |
Remove an optional repository. |
-l |
Remove a laboratory repository. |
-help |
Display help for removing files or repositories. |
Open repositories or files. Example syntax:
./program -open
Option | Description |
---|---|
-help |
Display help for opening files or repositories. |
./program -upt -a
./program -trf -help
./program -add -category my_repo
./program -rm -category my_repo
./program -open file_name
- Lapfips (Ethan FARGIER)
- Lapgirl (Valentine REVERTE)
- Layann (Joana BURETH)
We welcome contributions! Please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
. - Commit your changes:
git commit -m 'Add a new feature'
. - Push to the branch:
git push origin feature/your-feature-name
. - Submit a pull request.
- Implement my ToDo feature
- Create a .env file with the path and informations needed
- Create a .gitignore file
This project is licensed under the MIT License. See the LICENSE
file for details.