Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
Signed-off-by: leleliu008 <leleliu008@gmail.com>
  • Loading branch information
leleliu008 committed Dec 22, 2023
1 parent 4b55dd8 commit ffd3a6b
Showing 1 changed file with 69 additions and 63 deletions.
132 changes: 69 additions & 63 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,16 +310,22 @@ all relevant directories and files are located under `~/.ppkg` directory.
- [yq](https://mikefarah.gitbook.io/yq/)
- [jq](https://stedolan.github.io/jq/manual/)

- **show basic information about your current running operation system**
- **show basic information about this software**

```bash
ppkg sysinfo
ppkg env
```

- **show basic information about this software**
- **show build information about this software**

```bash
ppkg env
ppkg buildinfo
```

- **show basic information about your current running operation system**

```bash
ppkg sysinfo
```

- **integrate `zsh-completion` script**
Expand All @@ -340,6 +346,61 @@ all relevant directories and files are located under `~/.ppkg` directory.
ppkg update
```
- **list all avaliable formula repositories**
```bash
ppkg formula-repo-list
```
- **create a new empty formula repository**
```bash
uppm formula-repo-init my_repo https://github.com/leleliu008/uppm-formula-repository-my_repo
uppm formula-repo-init my_repo https://github.com/leleliu008/uppm-formula-repository-my_repo --branch=master
uppm formula-repo-init my_repo https://github.com/leleliu008/uppm-formula-repository-my_repo --branch=main --pin
uppm formula-repo-init my_repo https://github.com/leleliu008/uppm-formula-repository-my_repo --unpin --disable
uppm formula-repo-init my_repo https://github.com/leleliu008/uppm-formula-repository-my_repo --enable
```
- **create a new empty formula repository then sync with server**
```bash
uppm formula-repo-add my_repo https://github.com/leleliu008/uppm-formula-repository-my_repo
uppm formula-repo-add my_repo https://github.com/leleliu008/uppm-formula-repository-my_repo --branch=master
uppm formula-repo-add my_repo https://github.com/leleliu008/uppm-formula-repository-my_repo --branch=main --pin
uppm formula-repo-add my_repo https://github.com/leleliu008/uppm-formula-repository-my_repo --unpin --disable
uppm formula-repo-add my_repo https://github.com/leleliu008/uppm-formula-repository-my_repo --enable
```
- **delete the given formula repository**
```bash
uppm formula-repo-del my_repo
```
- **sync the given formula repository with server**
```bash
uppm formula-repo-sync my_repo
```
- **show information of the given formula repository**
```bash
uppm formula-repo-info my_repo
```
- **change the config of the given formula repository**
```bash
uppm formula-repo-conf my_repo --url=https://github.com/leleliu008/uppm-formula-repository-my_repo
uppm formula-repo-conf my_repo --branch=main
uppm formula-repo-conf my_repo --pin
uppm formula-repo-conf my_repo --unpin
uppm formula-repo-conf my_repo --enable
uppm formula-repo-conf my_repo --disable
```
- **search all available packages whose name matches the given regular expression partten**
```bash
Expand Down Expand Up @@ -417,7 +478,7 @@ all relevant directories and files are located under `~/.ppkg` directory.
ppkg fetch curl -v
```
- **install packages**
- **install the given packages**
```bash
ppkg install curl
Expand All @@ -426,14 +487,14 @@ all relevant directories and files are located under `~/.ppkg` directory.
**Note:** C and C++ compiler should be installed by yourself using your system's default package manager before running this comand.

- **reinstall packages**
- **reinstall the given packages**

```bash
ppkg reinstall curl
ppkg reinstall curl bzip2 -v
```

- **uninstall packages**
- **uninstall the given packages**

```bash
ppkg uninstall curl
Expand All @@ -455,65 +516,10 @@ all relevant directories and files are located under `~/.ppkg` directory.
ppkg upgrade-self -v
```

- **list all avaliable formula repositories**

```bash
ppkg formula-repo-list
```

- **create a new empty formula repository**

```bash
uppm formula-repo-init my_repo https://github.com/leleliu008/uppm-formula-repository-my_repo
uppm formula-repo-init my_repo https://github.com/leleliu008/uppm-formula-repository-my_repo --branch=master
uppm formula-repo-init my_repo https://github.com/leleliu008/uppm-formula-repository-my_repo --branch=main --pin
uppm formula-repo-init my_repo https://github.com/leleliu008/uppm-formula-repository-my_repo --unpin --disable
uppm formula-repo-init my_repo https://github.com/leleliu008/uppm-formula-repository-my_repo --enable
```

- **create a new empty formula repository then sync with server**

```bash
uppm formula-repo-add my_repo https://github.com/leleliu008/uppm-formula-repository-my_repo
uppm formula-repo-add my_repo https://github.com/leleliu008/uppm-formula-repository-my_repo --branch=master
uppm formula-repo-add my_repo https://github.com/leleliu008/uppm-formula-repository-my_repo --branch=main --pin
uppm formula-repo-add my_repo https://github.com/leleliu008/uppm-formula-repository-my_repo --unpin --disable
uppm formula-repo-add my_repo https://github.com/leleliu008/uppm-formula-repository-my_repo --enable
```

- **delete the given formula repository**

```bash
uppm formula-repo-del my_repo
```

- **sync the given formula repository with server**

```bash
uppm formula-repo-sync my_repo
```

- **show information of the given formula repository**

```bash
uppm formula-repo-info my_repo
```

- **change the config of the given formula repository**

```bash
uppm formula-repo-conf my_repo --url=https://github.com/leleliu008/uppm-formula-repository-my_repo
uppm formula-repo-conf my_repo --branch=main
uppm formula-repo-conf my_repo --pin
uppm formula-repo-conf my_repo --unpin
uppm formula-repo-conf my_repo --enable
uppm formula-repo-conf my_repo --disable
```

- **check if the given package is available**

```bash
ppkg is-available curl
ppkg is-available curl -p macos
```

- **check if the given package is installed**
Expand Down

0 comments on commit ffd3a6b

Please sign in to comment.