diaradougou / kbash Goto Github PK
View Code? Open in Web Editor NEWCommon Bash Env Environment
Common Bash Env Environment
dc[1]:did-core-dataset> dc
dc [COMMAND] [help|--help|-help|-h|?] ...
dc is a bash environment supporting development.
Functions (modify the current shell)
add-command Add a function.
add-component cd home, or into /home/ewelton/Desktop/I/did-biometrics/did-core-dataset/[C].
add-function Add a function.
cd cd /home/ewelton/Desktop/I/did-biometrics/did-core-dataset/[PATH] (or base w/o arg)
kbash-env Display current environment settings.
kbash-troff disable KBASH_TRACE
kbash-tron set KBASH_TRACE to trace KBASH internals
parallel Control how many jobs run in parallel.
reset Reload the environment.
troff Stop bash execution trace.
tron Start bash execution trace.
Commands (run as subprocesses)
about Detailed Information about KBASH
component-list Just fetch updates
klang Manage KBASH top level languages
manual Generate help manual
No components configured, use dc add-component to add components.
Use dc [FUNCTION|COMMAND|COMPONENT] help for more information.
Do we even use this anymore? do we want to?
boaz:K$ ./kbash/shell.sh
bash: /home/ewelton/K/.kbash/boot.sh: No such file or directory
ewelton@boaz:~/K/kbash$ exit
exit
boaz:K$ git stash
For example, consider this from the local mkdocs run
kbash-os
kx kbash_os [help|--help|-help|-h|?]
Display os
This command will report what the kbash utilities think the current operating system is.
You can use the following functions in the shell environment (or your own) scripts, if you want a quick check to determine your operating system - is_osx - is_linux - is_windows
This is based off of uname - so. You can use kbash-os to show you the uname output and check the value so is_osx, is_linux, is_windows
For example:
kx kbash-os
Checking os: uname ='Linux kisia 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux'
Linux Detected
it should be indented with highinging feature such as the one around uname or the example code >"kx kbash-os" being highlighted correctly. They are not highlighted correctly when generated by "kx manual", but are correct when kx kbash-os help is executed directly from the command line.
ke[15]:E> ke
ke [COMMAND] [help|--help|-help|-h|?] ...
ke is a bash environment supporting development.
Functions (modify the current shell)
activate Configure shell to match build environment for [COMPONENT]
add-command Add a command to the ke environment.
add-component Add a new component (command scope and directory pair)
add-function Add a function.
build Build [C] using component build system
bundle Runs the project specific bundle
cd cd /home/korsimoro/E/[PATH] (or base w/o arg)
clean Remove as many artifacts for [C] as we know about
deactivate Restores key variables to boot state
describe Describe information about this build env
kbash-env Display current environment settings.
kbash-os Display os
kbash-troff disable KBASH_TRACE
kbash-tron set KBASH_TRACE to trace KBASH internals
parallel Control how many jobs run in parallel.
reset Reload the environment.
setup Initialize a development environment
troff Stop bash execution trace.
tron Start bash execution trace.
Commands (run as subprocesses)
about Detailed Information about KBASH
component-list List all available components
klang Manage KBASH top level languages
manual Generate help manual
Components
website Description of website
Use ke [FUNCTION|COMMAND|COMPONENT] help for more information.
ke[15]:E> ke bundle website
RUBY_BIN_PATH is not set, did you activate an environment?
ke[15]:E>
dc[1]:did-core-dataset> dc klang
dc [LANG] ....
Manage languages
Commands (run as subprocesses)
node System Node
python System Node
ruby System Node
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.