palortoff / basf Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
BASF_PROGRAM_LIBRARY_EXTENSION
BASF_PROGRAM_MODULE_EXTENSION
should be considered when finding a lib or a module
Or define the order of actions
possibly add marker for empty line
with libs, modules and stuff...
currently actions can only have flag options like -p
need to add options with parameters like -p x
test completion afterwards...
Add module aliases for action, e.g. call
basf action_x
instead of
basf module_y action_x
action_x
would still be a module and be handled like a module, but have a different extension (bsa
) and reside in the aliases
folder
Add actions to the alias module
${HOME}/.${BASF_PROGRAM_NAME}/aliases
write an aliases
module, like the modules
module
when two modules/aliases have the same name in different paths only the one higher in the path hierarchy shall be listed
is this still valid?
Calling a missing (or mistyped) module is currently reported like
Could'n source <blank>
Should be changed to Module not found <module name>
for M.I.T. license
to allow basf help <module>
instead of basf <module> help
will follow later
BASF_LIB_PATH
and BASF_MODULES_PATH
specify the list of lib and module path.
Add a configurable value to the lists.
eval set -- "$originalOptions"
in core.lib
: do_action
removes/applies backslashes in parameters
current default is verbose. quiet should be default. add parameter for verbose/stacktrace/...
Extra actions:
a1 does a1
a2 does a2
and some other stuff
a3 does a3
skeleton.bsm
basf is broken on MacOS. :(
~/repos/basf $ basf
Usage: basf [global options] command [options]
Global options:
--brief Make output shorter
--color=<yes|no|auto> Enable or disable color output (default 'auto')
getopt: illegal option -- l
getopt: illegal option -- o
getopt: illegal option -- n
getopt: illegal option -- g
getopt: illegal option -- l
getopt: illegal option -- o
getopt: illegal option -- n
getopt: illegal option -- g
Built-in modules:
help Display a help message
usage Display a usage message
version Display version information
Extra modules:
completion Completion for basf
completion Completion for basf
~/repos/basf $
The git
library functions all are prefixed git_
Apply this to all libs where applicable.
Probably applicable for
config
environment
git
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.