Giter VIP home page Giter VIP logo

slu's Introduction

slu: SikaLabs Utils

SikaLabs SikaLabs SikaLabs

Install

Mac

brew install sikalabs/tap/slu

Linux AMD64 (using install-slu, recommended)

Install latest version of slu using install-slu tool.

sudo su -
VERSION=v0.1.0 && \
OS=linux && \
ARCH=amd64 && \
BIN=install-slu && \
curl -L https://github.com/sikalabs/${BIN}/releases/download/${VERSION}/${BIN}_${VERSION}_${OS}_${ARCH}.tar.gz -o ${BIN}_${VERSION}_${OS}_${ARCH}.tar.gz && \
tar -xvzf ${BIN}_${VERSION}_${OS}_${ARCH}.tar.gz && \
rm ${BIN}_${VERSION}_${OS}_${ARCH}.tar.gz && \
mv ${BIN} /usr/local/bin/ && \
install-slu install

You can do the same with this one-liner

curl -fsSL https://ins.oxs.cz/slu-linux-amd64.sh | sudo sh

For upgrade of slu just run

install-slu install

Linux AMD64 (directly)

sudo su -
# Check the current version on Github https://github.com/sikalabs/slu/releases
SLU_VERSION=v0.24.0 && \
VERSION=$SLU_VERSION && \
OS=linux && \
ARCH=amd64 && \
BIN=slu && \
curl -L https://github.com/sikalabs/${BIN}/releases/download/${VERSION}/${BIN}_${VERSION}_${OS}_${ARCH}.tar.gz -o ${BIN}_${VERSION}_${OS}_${ARCH}.tar.gz && \
tar -xvzf ${BIN}_${VERSION}_${OS}_${ARCH}.tar.gz && \
rm ${BIN}_${VERSION}_${OS}_${ARCH}.tar.gz && \
mv ${BIN} /usr/local/bin/

Autocomplete

See: slu completion

Bash

source <(slu completion bash)

CLI Usage

Generated CLI Docs on Github

See: https://github.com/sikalabs/slu-cli-docs/blob/master/slu.md#slu

Generate CLI Docs

Generate Markdown CLI docs to ./cobra-docs

slu generate-docs

slu's People

Contributors

ondrejsika avatar vojtechmares avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.