0.0.17 • Published 1 year ago

@captain_z/jayce v0.0.17

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@captain_z/jayce

automation tools for improve efficiency

Get Started

Global install from npm registry

npm i -g tsx
npm i -g @captain_z/jayce

Run the project in local

Clone

git clone https://github.com/codeshareman/tookit.git

Install

Run a command in the project root directory:

pnpm -r filter ./package/{your package name} install

Add Configuration

# configuration of jira command
JIRA_USER_NAME="your jira username"
JIRA_USER_PWD="your jira password"
JIRA_IP_HOST="youur jira ip"

# configuration of lanhai command
export LANHAI_SITE_URL="http://{your site domain}"
export LANHAI_API_ENDPOINT="http://{your site api endpoint}"
export LANHAI_USERNAME="{your username}"
export LANHAI_PASSWORD="{your password}"
export LANHAI_MATERIAL_DIR="{your product material dir}"

!!! remember to execute the command: source ~/.zshrc

Execute Command in your terminal

# such as lanhai command
jayce lanhai -k 美团单车

# result will like this
| TITLE                                    | PRODUCTNUM | PRICE  | ORIGINPRICE | STOCK |
|------------------------------------------|------------|--------|-------------|-------|
| 自营 【账号直充】美团单车骑行卡『7天』  | 6838       | ¥7.07 | ¥7.4300    | 9999  |
| 自营 【账号直充】美团单车骑行卡『1个月』 | 6837       | ¥15.18| ¥17.6800   | 9999  |
| 自营 【账号直充】美团单车骑行卡『3个月』 | 6836       | ¥49.76| ¥53.9100   | 9999  |
| 自营 【账号直充】美团单车骑行卡·7天『4次』| 6835       | ¥4.40 | ¥7.5400    | 9999  |
| 自营 【账号直充】美团单车骑行卡·7天『5次』| 6834       | ¥5.48 | ¥6.1000    | 9999  |
| 自营 【账号直充】美团单车骑行卡·15天『5次』| 6833       | ¥11.52| ¥11.52     | 9999  |
| 自营 【自动充值】美团单车骑行卡7天        | 4227       | ¥6.98 | ¥15.0000   | 9999  |
| 自营 【自动充值】美团单车骑行卡1个月      | 4226       | ¥15.06| ¥35.0000   | 9999  |
| 自营 【自动充值】美团单车骑行卡3个月      | 4225       | ¥49.31| ¥90.0000   | 9999  |
| 自营 【自动充值】美团单车骑行卡6个月      | 4224       | ¥90.96| ¥99.0000   | 9999  |
| 自营 【自动充值】美团单车骑行卡7天4次     | 4223       | ¥4.36 | ¥15.0000   | 9999  |
| 自营 【自动充值】美团单车骑行卡7天5次     | 4222       | ¥5.41 | ¥15.0000   | 9999  |
| 自营 【自动充值】美团单车骑行卡7天6次     | 4221       | ¥6.19 | ¥15.0000   | 9999  |
| 自营 【自动充值】美团单车骑行卡15天5次    | 4220       | ¥11.40| ¥20.0000   | 9999  |
| 自营 【自动充值】美团单车骑行卡30天30次   | 4219       | ¥14.62| ¥20.0000   | 9999  |

Command

jira

Usage: jayce jira [options]

login jira and auto resolve bug

Options:
  -h, --help  display help for command

lanhai

Usage: jayce lanhai [options]

login lanhai Mall and crawling data

Options:
  -k,--keyword <string>  search product by keyword
  -h, --help             display help for command
0.0.17

1 year ago

0.0.16

1 year ago

0.0.15

1 year ago

0.0.14

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago