TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Sparrow6 One-Liners

2 点作者 melezhik将近 6 年前
Sparrow6 is an automation platform written on Perl6.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;melezhik&#x2F;Sparrow6" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;melezhik&#x2F;Sparrow6</a><p>S6 is a simplistic cli comes with Sparrow6, it&#x27;s handy when you want to automate tasks without writting any code, here are some examples to start with:<p># Update local cache # We need to start with it<p>export SP6_REPO=<a href="http:&#x2F;&#x2F;repo.southcentralus.cloudapp.azure.com" rel="nofollow">http:&#x2F;&#x2F;repo.southcentralus.cloudapp.azure.com</a><p>s6 --index-update<p># Find specific plugins<p>s6 --search user<p># Install plugin<p>s6 --install user<p># Run various plugins:<p># Create user:<p>sudo env PATH=$PATH env SP6_REPO=$SP6_REPO s6 --plg-run user@name=foo1,password=123456,group=wheel,action=create<p># Man certain plugin<p>s6 --plg-man user<p># You can run Sparrow6 modules as one-liners as well:<p># Extract archive:<p>zef install <a href="https:&#x2F;&#x2F;melezhik2@bitbucket.org&#x2F;melezhik2&#x2F;sparrowdo-archive.git" rel="nofollow">https:&#x2F;&#x2F;melezhik2@bitbucket.org&#x2F;melezhik2&#x2F;sparrowdo-archive....</a><p>s6 --module-run Archive@source=&#x2F;home&#x2F;melezhik&#x2F;archive.tar.gz,target=&#x2F;tmp&#x2F;foo2,verbose=1<p>See more at <a href="https:&#x2F;&#x2F;github.com&#x2F;melezhik&#x2F;Sparrow6" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;melezhik&#x2F;Sparrow6</a>

暂无评论

暂无评论