Skip to content

Commit

Permalink
feat: โœจ add ruby plugin demo
Browse files Browse the repository at this point in the history
  • Loading branch information
ivaquero committed Oct 9, 2023
1 parent 995c5bb commit 7fdc1c0
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 68 deletions.
68 changes: 34 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,28 +244,28 @@ Oxidizer uses `ouch` to deal with compression and decompression, and provides wi

Oxidizer aims to provide a unified interface for all package manager-related commands to reduce typing and memory burden of command-line users.

| Suffix | Action | brew `b` | scoop `s` | conda `c` | npm `n` | cargo `cg` | rustup `rs` | julia `jl` | conan `cn` | tlmgr `tl` |
| :----: | :---------: | :------: | :-------: | :-------: | :-----: | :--------: | :---------: | :--------: | :--------: | :--------: |
| `*h` | help | โœ… | | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… |
| `*cf` | config | โœ… | | โœ… | โœ… | | | | โœ… | |
| `*is` | install | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… |
| `*us` | uninstall | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… |
| `*up` | update | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… |
| `*ups` | update self | โœ… | โœ… | | | | | | | โœ… |
| `*ls` | list | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | | โœ… |
| `*lv` | leaves | โœ… | โœ… | โœ… | โœ… | โœ… | | โœ… | | |
| `*sc` | search | โœ… | โœ… | โœ… | โœ… | โœ… | | | โœ… | |
| `*cl` | clean | โœ… | โœ… | โœ… | โœ… | โœ… | | โœ… | | |
| `*if` | info | โœ… | โœ… | โœ… | โœ… | โœ… | | | โœ… | โœ… |
| `*st` | status | โœ… | โœ… | | โœ… | | | โœ… | | |
| `*ck` | check | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | | | โœ… |
| `*pn` | pin | โœ… | โœ… | | | | | โœ… | | |
| `*upn` | unpin | โœ… | โœ… | | | | | โœ… | | |
| `*dp` | depends | โœ… | โœ… | โœ… | | โœ… | | โœ… | โœ… | |
| `*rdp` | needs | | | โœ… | | | | โœ… | | |
| `*xa` | add repo | โœ… | โœ… | โœ… | | | | | โœ… | |
| `*xrm` | remove repo | โœ… | โœ… | โœ… | | | | | โœ… | |
| `*xls` | list repo | | | โœ… | | | | | โœ… | |
| Suffix | Action | brew `b` | scoop `s` | conda `c` | npm `n` | cargo `cg` | rustup `rs` | julia `jl` | gem `rb` | conan `cn` | tlmgr `tl` |
| :----: | :---------: | :------: | :-------: | :-------: | :-----: | :--------: | :---------: | :--------: | :------: | :--------: | :--------: |
| `*h` | help | โœ… | | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… |
| `*cf` | config | โœ… | | โœ… | โœ… | | | | | โœ… | |
| `*is` | install | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… |
| `*us` | uninstall | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… |
| `*up` | update | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… |
| `*ups` | update self | โœ… | โœ… | | | | | | | | โœ… |
| `*ls` | list | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | | โœ… |
| `*lv` | leaves | โœ… | โœ… | โœ… | โœ… | โœ… | | โœ… | | | |
| `*sc` | search | โœ… | โœ… | โœ… | โœ… | โœ… | | | โœ… | โœ… | |
| `*cl` | clean | โœ… | โœ… | โœ… | โœ… | โœ… | | โœ… | โœ… | | |
| `*if` | info | โœ… | โœ… | โœ… | โœ… | โœ… | | | | โœ… | โœ… |
| `*st` | status | โœ… | โœ… | | โœ… | | | โœ… | | | |
| `*ck` | check | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | | โœ… | | โœ… |
| `*pn` | pin | โœ… | โœ… | | | | | โœ… | | | |
| `*upn` | unpin | โœ… | โœ… | | | | | โœ… | | | |
| `*dp` | depends | โœ… | โœ… | โœ… | | โœ… | | โœ… | โœ… | โœ… | |
| `*rdp` | needs | | | โœ… | | | | โœ… | | | |
| `*xa` | add repo | โœ… | โœ… | โœ… | | | | | | โœ… | |
| `*xrm` | remove repo | โœ… | โœ… | โœ… | | | | | | โœ… | |
| `*xls` | list repo | | | โœ… | | | | | | โœ… | |

Particularly, Oxidizer provides with two groups of experimental functions with suffix `p` for installing and downloading packages in parallel

Expand All @@ -287,18 +287,18 @@ bss pu

Some package managers also have functionality of project management

| Suffix | Action | brew `b` | scoop `s` | conda `c` | npm `n` | cargo `cg` | rustup `rs` | julia `jl` | conan `cn` |
| :----: | :---------: | :------: | :-------: | :-------: | :-----: | :--------: | :---------: | :--------: | :--------: |
| `*ii` | init/create | โœ… | โœ… | โœ… | โœ… | โœ… | | | โœ… |
| `*b` | build | | | | | โœ… | | โœ… | โœ… |
| `*r` | run | | | โœ… | โœ… | โœ… | โœ… | โœ… | |
| `*ed` | edit | โœ… | | | | | | | |
| `*ca` | cat | โœ… | โœ… | | | | | | |
| `*ln` | link | โœ… | | | | | | | |
| `*ts` | test | โœ… | | | โœ… | โœ… | | โœ… | โœ… |
| `*au` | audit | โœ… | | | โœ… | | | | |
| `*fx` | fix | โœ… | | | โœ… | โœ… | | | |
| `*pb` | publish | | | | โœ… | โœ… | | | |
| Suffix | Action | brew `b` | scoop `s` | conda `c` | npm `n` | cargo `cg` | rustup `rs` | julia `jl` | gem `rb` | conan `cn` |
| :----: | :---------: | :------: | :-------: | :-------: | :-----: | :--------: | :---------: | :--------: | :------: | :--------: |
| `*ii` | init/create | โœ… | โœ… | โœ… | โœ… | โœ… | | | | โœ… |
| `*b` | build | | | | | โœ… | | โœ… | โœ… | โœ… |
| `*r` | run | | | โœ… | โœ… | โœ… | โœ… | โœ… | | |
| `*ed` | edit | โœ… | | | | | | | | |
| `*ct` | cat | โœ… | โœ… | | | | | | โœ… | |
| `*ln` | link | โœ… | | | | | | | | |
| `*ts` | test | โœ… | | | โœ… | โœ… | | โœ… | | โœ… |
| `*au` | audit | โœ… | | | โœ… | | | | | |
| `*fx` | fix | โœ… | | | โœ… | โœ… | | | | |
| `*pb` | publish | | | | โœ… | โœ… | | | | |

Some of the package managers shortcuts are included in corresponding system plugins.

Expand Down
68 changes: 34 additions & 34 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,28 +227,28 @@ Oxidizer ไฝฟ็”จ `ouch` ๅŽ‹็ผฉๆˆ–่งฃๅŽ‹็ผฉๆ–‡ไปถ๏ผŒๆไพ› 3 ไธชๅฟซๆทๅ‘ฝไปค

Oxidizer ่‡ดๅŠ›ไบŽไธบๅ„ไธชๅŒ…็ฎก็†ๅ™จๆไพ›็ปŸไธ€็š„ๆŽฅๅฃ๏ผŒไปฅๅ‡่ฝปๆ•ฒๅ‡ปๅ’Œ่ฎฐๅฟ†่ดŸๆ‹…ใ€‚

| ๅŽ็ผ€ | ๆ“ไฝœ | brew `b` | scoop `s` | conda `c` | npm `n` | cargo `cg` | rustup `rs` | julia `jl` | conan `cn` | tlmgr `tl` |
| :----: | :---------: | :------: | :-------: | :-------: | :-----: | :--------: | :---------: | :--------: | :--------: | :--------: |
| `*h` | help | โœ… | | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… |
| `*cf` | config | โœ… | | โœ… | โœ… | | | | โœ… | |
| `*is` | install | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… |
| `*us` | uninstall | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… |
| `*up` | update | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… |
| `*ups` | update self | โœ… | โœ… | | | | | | | โœ… |
| `*ls` | list | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | | โœ… |
| `*lv` | leaves | โœ… | โœ… | โœ… | โœ… | โœ… | | โœ… | | |
| `*sc` | search | โœ… | โœ… | โœ… | โœ… | โœ… | | | โœ… | |
| `*cl` | clean | โœ… | โœ… | โœ… | โœ… | โœ… | | โœ… | | |
| `*if` | info | โœ… | โœ… | โœ… | โœ… | โœ… | | | โœ… | โœ… |
| `*st` | status | โœ… | โœ… | | โœ… | | | โœ… | | |
| `*ck` | check | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | | | โœ… |
| `*pn` | pin | โœ… | โœ… | | | | | โœ… | | |
| `*upn` | unpin | โœ… | โœ… | | | | | โœ… | | |
| `*dp` | depends | โœ… | โœ… | โœ… | | โœ… | | โœ… | โœ… | |
| `*rdp` | needs | | | โœ… | | | | โœ… | | |
| `*xa` | add repo | โœ… | โœ… | โœ… | | | | | โœ… | |
| `*xrm` | remove repo | โœ… | โœ… | โœ… | | | | | โœ… | |
| `*xls` | list repo | | | โœ… | | | | | โœ… | |
| ๅŽ็ผ€ | ๆ“ไฝœ | brew `b` | scoop `s` | conda `c` | npm `n` | cargo `cg` | rustup `rs` | julia `jl` | gem `rb` | conan `cn` | tlmgr `tl` |
| :----: | :---------: | :------: | :-------: | :-------: | :-----: | :--------: | :---------: | :--------: | :------: | :--------: | :--------: |
| `*h` | help | โœ… | | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… |
| `*cf` | config | โœ… | | โœ… | โœ… | | | | | โœ… | |
| `*is` | install | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… |
| `*us` | uninstall | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… |
| `*up` | update | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… |
| `*ups` | update self | โœ… | โœ… | | | | | | | | โœ… |
| `*ls` | list | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | | โœ… |
| `*lv` | leaves | โœ… | โœ… | โœ… | โœ… | โœ… | | โœ… | | | |
| `*sc` | search | โœ… | โœ… | โœ… | โœ… | โœ… | | | โœ… | โœ… | |
| `*cl` | clean | โœ… | โœ… | โœ… | โœ… | โœ… | | โœ… | โœ… | | |
| `*if` | info | โœ… | โœ… | โœ… | โœ… | โœ… | | | | โœ… | โœ… |
| `*st` | status | โœ… | โœ… | | โœ… | | | โœ… | | | |
| `*ck` | check | โœ… | โœ… | โœ… | โœ… | โœ… | โœ… | | โœ… | | โœ… |
| `*pn` | pin | โœ… | โœ… | | | | | โœ… | | | |
| `*upn` | unpin | โœ… | โœ… | | | | | โœ… | | | |
| `*dp` | depends | โœ… | โœ… | โœ… | | โœ… | | โœ… | โœ… | โœ… | |
| `*rdp` | needs | | | โœ… | | | | โœ… | | | |
| `*xa` | add repo | โœ… | โœ… | โœ… | | | | | | โœ… | |
| `*xrm` | remove repo | โœ… | โœ… | โœ… | | | | | | โœ… | |
| `*xls` | list repo | | | โœ… | | | | | | โœ… | |

็‰นๅˆซๅœฐ๏ผŒOxidizer ๆไพ›ไธค็ป„ๅŽ็ผ€ไธบ`p`็š„ๅฎž้ชŒๆ€งๅ‡ฝๆ•ฐ๏ผŒ็”จไบŽๅนถ่กŒๅฎ‰่ฃ…ๅ’Œไธ‹่ฝฝ่ฝฏไปถๅŒ…

Expand All @@ -270,18 +270,18 @@ bss pu

ไธ€ไบ›ๅŒ…็ฎก็†ๅ™จ่ฟ˜ๆœ‰้กน็›ฎ็ฎก็†ๅŠŸ่ƒฝ

| ๅŽ็ผ€ | ๆ“ไฝœ | brew `b` | scoop `s` | conda `c` | npm `n` | cargo `cg` | rustup `rs` | julia `jl` | conan `cn` |
| :---: | :---------: | :------: | :-------: | :-------: | :-----: | :--------: | :---------: | :--------: | :--------: |
| `*ii` | init/create | โœ… | โœ… | โœ… | โœ… | โœ… | | | โœ… |
| `*b` | build | | | | | โœ… | | โœ… | โœ… |
| `*r` | run | | | โœ… | โœ… | โœ… | โœ… | โœ… | |
| `*ed` | edit | โœ… | | | | | | | |
| `*ca` | cat | โœ… | โœ… | | | | | | |
| `*ln` | link | โœ… | | | | | | | |
| `*ts` | test | โœ… | | | โœ… | โœ… | | โœ… | โœ… |
| `*au` | audit | โœ… | | | โœ… | | | | |
| `*fx` | fix | โœ… | | | โœ… | โœ… | | | |
| `*pb` | publish | | | | โœ… | โœ… | | | |
| ๅŽ็ผ€ | ๆ“ไฝœ | brew `b` | scoop `s` | conda `c` | npm `n` | cargo `cg` | rustup `rs` | julia `jl` | gem `rb` | conan `cn` |
| :---: | :---------: | :------: | :-------: | :-------: | :-----: | :--------: | :---------: | :--------: | :------: | :--------: |
| `*ii` | init/create | โœ… | โœ… | โœ… | โœ… | โœ… | | | | โœ… |
| `*b` | build | | | | | โœ… | | โœ… | โœ… | โœ… |
| `*r` | run | | | โœ… | โœ… | โœ… | โœ… | โœ… | | |
| `*ed` | edit | โœ… | | | | | | | | |
| `*ct` | cat | โœ… | โœ… | | | | | | โœ… | |
| `*ln` | link | โœ… | | | | | | | | |
| `*ts` | test | โœ… | | | โœ… | โœ… | | โœ… | | โœ… |
| `*au` | audit | โœ… | | | โœ… | | | | | |
| `*fx` | fix | โœ… | | | โœ… | โœ… | | | | |
| `*pb` | publish | | | | โœ… | โœ… | | | | |

้ƒจๅˆ†ๅฟซๆทๅ‘ฝไปค่ขซๅŒ…ๅซๅœจๅฏนๅบ”็š„็ณป็ปŸๆ‰ฉๅฑ•ไธญ

Expand Down
Loading

0 comments on commit 7fdc1c0

Please sign in to comment.