This page is for developer. CommandClick true value change self made script to android app.
I hope you get that knowledge.
- System structure
- Fannel(bookmarklet) structure
- Javascript
- Ubuntu
- QR code format
- Directory structure
- File api
- Broadcast actions
- Use port
- CommandClick repository
- Glossary
fannel
is bookmarklet
in ComamndClick
Create bellow directory tree
├── {fannelName}.js
└── {fanneName}Dir
├── settingVariables
│ ├── setReplaceVariables.js
│ └── setVariableTypes.js
└── README.md
- Base fannel file is
{fannelName}.js
- Place other settings and data in
{fanneName}Dir
dir
-
labeling section
-
setting variable contents
-> Setting variable -
cmd variable contents
-> cmd variable
-
script contents
javascript
' orshellscript
' contents
This section is description for fannel
(js or shell file enforced by CommandClick
).
User difinition setting variables to enable edit by gui
If set, display firstly in edit.
CommandClick
's pre-reserved system setting variables to enable edit by gui
If set, display secondly in edit.
Edit and Execute on click play button.
Particularly, ALWAYS
is most used value in order to standalone app.
Value | Description |
---|---|
NO |
only edit (default) |
ALWAYS |
always edit -> execute |
This variable definite constant variable.
You also have multiple specifing this.
-> detail
- ex
setReplaceVariables="{replaceVariablle1}={repalce string1}
or
setReplaceVariables="file://{file path}"
This variable is controller in MVVM or MVC architecture
When edit, set variable type to cmd variables.
You also have multiple specifying this.
-> detail
You can customize bellow button config
playButtonConfig editButtonConfig settingButtonConfig
Js is one of the core language in CommandClick
CC has super customization functions.
And Enable to control CC system.
js action
is developed for CommandClick
developer
This language is annotation-oriented language based on javascript in CommandClick
You automatically have more readable, maintainable, and manageable code by js action
.
prompt
ex
var=isOkHelloWorld
?func=prompt
?args=
comfirmMsg="Hello world, OK?"
-> detail is constructing...
CC has shiban for javascript.
This is used to handle normal js or js action or etc.
-> js shiban
CommandClick
is javascript framework for andorid. Particularly, this methods strongly support your android app development(fannel
development).
This, so colled, android app row code library.
Like ${0}
in shell, CommandClick
's js has pre reserved word
CommandClick
can import all file with uri. We can use javascript all of the world. This is CommandClick
basic idea.
CommandClick
is open world app, as is, web browser, termux client, bookmarklet maker, applicatoin store, and library terminal.
Bellow is how to import. You can enjoy this all range import application!
-> js import
-> About javascript system args
Add arg on CommandClick's certain action for js.
For example, urlHistoryClick
, onAutoExec
action.
-> About include javascript library
First, I respect bellow javascript package author.
Bellow respectable package is inclided assets. you can import like bellow.
First, I respect bellow css package author.
Bellow respectable package is inclided assets. you can import like bellow.
CommandClick
script output trminal as html, so html tag is valid. You can use tag .
CommadClick has ubuntu22.04.
So, this app is full end app from frontend (webview) + backend (ubuntu).
It is a useful tool for CommandClick
.
For example, send broadcast, toast, and etc.
-> About environment variable in ubuntu
Set auto start shell script path Usecase is startup script, service, and daemon etc...
-> ubuntuExtraStartupShellPaths.tsv
QR code has excellent carrying capacity. So, suit for fannel distribution.
By CC
qr system, you can easily distribute your app (fannel).
Bellow, that format.
-> qr code
CommandClick is managed by files data So, each file data can use in CommandClick's development
-> fileApi
Support file for CommandClick's ubuntu For example, alternative data base, etc..
-> About broadcast actions & schema
-> About CommandClick's fannel repository
fannel
is ComamndClick using script (javascript, and shellscript)
For instance, your click script in CommandClick. One thing I can say that CommandClick is developed for the purpose of changing javaxcript and shellscript to gui appication. That applies to click script. It's so called Gui application. We can say so. I call the gui application fannel