Skip to content
This repository has been archived by the owner on Oct 4, 2020. It is now read-only.

langong-dev/LanFilePackage

Repository files navigation

LanFilePackage

简体中文?点击切换

Full name : LanGong File Station Package

Install

# Git clone
git clone https://github.com/langong-dev/LanFilePackage.git

# Go into this folder
cd ~/<FOLDER>

# Run the install.sh
sudo bash install.sh

# If you are ARM or MacOS, please do this
g++ main.cpp -o LanGong

Use

lfp <Type> <Class> <Name>

Notice: 1. You have to restart your terminal to use LFP.

Like: . ~/.zshrc

Notice: 2. You can only use LFP-commands in these terminal.

Name
Bash
Zsh
Fish

You can use this command to use LFP in others terminals

cd ~/LanFilePackage && ./LanGong _COMMANDS_

Shell All

Type Class Name Mean
install github < PackageUser >/< PackageName > Install package form GitHub
install git < PackageURL > Install package from Internet by Git
install langong < PackageName > Install package from LanGongOnline
install langong < PackageName > if you don't know which we have, click here
run / < PackageName > Run your software
ls / / See your packages list
uninstall / < PackageName > Delete your App
update / / Get update
help / / Help
log / / Get log
search / / Search packages

Example

  • Install Github : langong-dev/Zff
lfp install github langong-dev/Zff
lfp install git https://github.com/langonginc/Zff.git
  • Run Zff
lfp run Zff
  • See your packages list
lfp ls

If you want to reinstall

You can use this command: bash install.sh

Your idea

You can send email to langonginc@yeah.net .

Your File must have a file named in.index. Language is bash.

fun(){
    ./<Your software's entrance>
}

Please put your ALL file into a zip .zip .