Public source for shell functionality in the DarkPi system.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
( jak ) 2b1c34c8a2 Merge branch 'dev' of user@functions.sh:. 3 weeks ago
..
esoterica That was a deeper rabbit hole than expected. 2 months ago
platform Dev work, documenting datacard process. 4 months ago
.gitignore Dealing with diverging branches. 3 months ago
definitions.md Word order is important. 10 months ago
framework.md Wording fix, shims drafts. 10 months ago
id_ed25519.art Fix the .gitignore location, adjust maindir. 10 months ago
id_ed25519.pub Fix the .gitignore location, adjust maindir. 10 months ago
kanbash.csv Merge local tasks in with delta from remote. 6 months ago
readme.md Some presumptive ramblings, or at least the beginning. 6 months ago
template.sh Adding a pair of alia (aliases?), recording meta-conversation. 8 months ago
todo.md Structure adjustments, to facilitate two-key navigation. 1 year ago

readme.md

For a decent experience with this software, you need a base level understanding of Linux shell scripting & git revision control, and most likely a Debian-flavoured system to run things on top of.

This time around, there's an attempt to cut back on the levels of Heavy Wizardry in use.

Installation

Pick where to put the code. mkdir -p ~/src/fsh ~/bin

Get the code. cd ~/src/fsh && git init && git remote add origin https://functions.sh/ && git fetch origin && git merge origin/dev && git checkout dev

Interaction

Defaults are non-destructive, see f --help persist for writing to disk.

Examples:

get dependencies of an installable f --depends <software(:sym.ver.sion)/>

check installation prerequisites/dependencies for nginx f --install nginx

Assumptions

Some structure is assumed, and some structure can be customized.

Currently the live code is expected under the ~/run/ directory, and bare git repositories are expected in the ~/src directory.