jarmuszz / sbo-shell Goto Github PK
View Code? Open in Web Editor NEWSimple toolset for managing your SBo packages.
License: The Unlicense
Simple toolset for managing your SBo packages.
License: The Unlicense
SBo-shell supports a few env variables for setting options, document them,
The _tree
user function was written fast and needs a rewrite. There's a couple things wrong with it:
-f
flag may only be supplied as a first argument._source_info
(which also needs to be separated into two functions) without a subshell which sets the .info variables globally.intern_tree "$REQUIRES" | sort -u | sed 's/\s*//' | awk '!x[$0]++'
is not super bad but another function for flat dependency tree should be created.Currently, some user functions call other user functions which is a really bad practice. Some functions should be split into front-end and back-end parts (like _tree
and intern_tree
) where front-end function handles arguments and error-checking and calls the back-end function/s.
Split like this will not only improve performance but will also fix bugs and and make debugging easier.
Functions to split:
_goto
_find
_source_info
_unset_info
New functions to implement:
Possibly more to come.
When sbo-shell starts set some variable, when it ends unset it. At the end of the file check whether the said variable is set or not.
The _restart
function will be a lot more tricky - because sbo-shell is suposed to be sourced, the $0 is equal to shell's $0, and ergo, sbo-shell doesn't know it's path.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.