https://github.com/xaxys/oasis_plugins
This is plugin repository for Oasis.
https://github.com/xaxys/oasis_plugins
Last synced: 3 months ago
JSON representation
This is plugin repository for Oasis.
- Host: GitHub
- URL: https://github.com/xaxys/oasis_plugins
- Owner: xaxys
- License: mit
- Created: 2020-03-09T06:26:05.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-09T12:11:07.000Z (about 5 years ago)
- Last Synced: 2025-01-02T07:22:31.388Z (5 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Oasis_Plugins
This is plugin repository for Oasis.
Maintained by xaxys.
You can find the Oasis plugin server there https://github.com/xaxys/Oasis
# Plugins
### ConsoleFormatter
A formatter for console prints.
It allows you to custom the print format and time format.
##### screenshot

##### config
`{{some letters and variable(such as %Msg%)}}`: use`{{` `}}`to warp your variable so the contents won't exist if the variable doesn't exist.
```yaml
logformat: '{{[%Time%]}}{{[%Level%]}}{{[%Linenum%]}}: {{[%Plugin%] }}{{%Msg%}}'
timeformat: 2006/01/02 15:04:05.000
version: 0.1.2
```### TimelyTask
A plugin for you to easily set timely task.
It will auto add / remove tasks when you modified the config
##### screenshot

##### config
The example contains a task to execute `ls` and `echo helloworld` in the 5th second every minutes.
```yaml
version: 0.1.0
Tasks:
- Dir:
Time: '5 * * * * *'
Print: true
Commands:
- 'ls'
- 'echo helloworld'
```