refactor: move tools/$lang/** to tools/** (#17)

This commit is contained in:
sigoden
2024-06-06 08:29:00 +08:00
committed by GitHub
parent 005d23030d
commit bfb7d75fe4
15 changed files with 11 additions and 11 deletions
+4 -4
View File
@@ -76,7 +76,7 @@ The project supports write functions in bash/js/python.
### Bash
Create a new bashscript in the [./tools/sh](./tools/sh/) directory (.e.g. `may_execute_command.sh`).
Create a new bashscript in the [./tools/](./tools/) directory (.e.g. `may_execute_command.sh`).
```sh
#!/usr/bin/env bash
@@ -109,7 +109,7 @@ The relationship between comment tags and parameters in function declarations is
### Javascript
Create a new javascript in the [./tools/js](./tools/js/) directory (.e.g. `may_execute_command.js`).
Create a new javascript in the [./tools/](./tools/) directory (.e.g. `may_execute_command.js`).
```js
exports.declarate = function declarate() {
@@ -139,7 +139,7 @@ exports.execute = function execute(data) {
### Python
Create a new python script in the [./tools/py](./tools/py/) directory (e.g., `may_execute_py_code.py`).
Create a new python script in the [./tools/](./tools/) directory (e.g., `may_execute_py_code.py`).
```py
def declarate():
@@ -167,7 +167,7 @@ def execute(data):
### Ruby
Create a new ruby script in the [./tools/rb](./tools/rb/) directory (e.g., `may_execute_rb_code.rb`).
Create a new ruby script in the [./tools/](./tools/) directory (e.g., `may_execute_rb_code.rb`).
```rb
def declarate