odb / shml Goto Github PK
View Code? Open in Web Editor NEWSHell Markup Language | Style Framework for The Terminal
Home Page: http://shml.xyz
License: MIT License
SHell Markup Language | Style Framework for The Terminal
Home Page: http://shml.xyz
License: MIT License
The current abstraction of tests tests.sh
sourcing *_tests.sh
files makes it harder to tell where the error is coming from. Tests need to be reworked.
Add confirm
with usage like so:
# with success callback
on_succes() {
echo "Success"
}
confirm "Did you succeed?" "on_success"
# with success and failure callbacks
on_failure() {
echo "Failed"
}
confirm "Did you succeed?" "on_success" "on_failure"
# w/o callbacks
config "Did you succeed?" && echo "Why yes, yes I did!"
@jdorfman thoughts?
shunt
includes shml, therefore tests are running against that version and not the local shml... no good.
Need to replace redcarpet
with kramdown
:
The page build completed successfully, but returned the following warning:
You are currently using the 'redcarpet' Markdown engine, which is no longer supported by GitHub Pages and may cease working at any time. To ensure your site continues to build, remove the 'markdown' setting in your site's '_config.yml' file and confirm your site renders as expected. For more information, see https://help.github.com/articles/updating-your-markdown-processor-to-kramdown/.
The problem is when we switch to Kramdown we have issues with rendering:
Error Message
/usr/local/bin/shml:360: = not found
Line 358 - 365
# Usage / Examples
##
if [ "$0" == "$BASH_SOURCE" ]; then
if [[ $@ =~ .*-v.* ]]; then
echo "shml version ${SHML_VERSION}"
exit 0
fi
nokogiri ~> 1.8.2
- https://cl.ly/1I2v2p2c313Tlatest
e.g. https://raw.githubusercontent.com/odb/shml/latest/shml.sh
@jmervine is this something we need to worry about?
I'd like to add an installer modeled after the one used in odb/shunt. Not sure about the adding to path though, as this isn't technically an executable. If done, I'm thinking it could be sourced with:
source "$(which shml.sh)"
Feedback welcome.
Hi, I created Awesome package manager and I can install your repo using it.
After installing the Awesome:
awesome -i odb/shml shml.sh
If you can put it in your README, it will be awesome.
Thanks.
Shin
Please remove Apple from something that is connected to the FSF.
My bash prompt work incorrect when use shml.
If prompt line too long, then text will overwrite the screen of current line and hard to see.
This bug appear because non-printable sequences. I fix this after add "\[" and "\]" in fgcolor and bgcolor.
Further reading:
PR
#51
I haven't been able to confirm if this is isolated to me or not, @jdorfman mind testing on a Mac? I'm running on Ubuntu / xterm.
Somehow the source
instructions was added under npm install
. It should be removed.
Link: https://odb.github.io/shml/getting-started/#Install
cc: @Mandihamza
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.