rentcast-cli 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -0
- package/bun.lock +32 -0
- package/dist/index.js +2842 -0
- package/dist/rentcast-cli.js +2842 -0
- package/package.json +21 -0
- package/skills/rentcast-cli/SKILL.md +63 -0
- package/src/commands/auth.ts +53 -0
- package/src/index.ts +41 -0
- package/src/lib/auth.ts +54 -0
- package/src/lib/client.ts +107 -0
- package/src/lib/config.ts +29 -0
- package/src/lib/errors.ts +101 -0
- package/src/lib/logger.ts +41 -0
- package/src/lib/output.ts +169 -0
- package/src/resources/estimates.ts +94 -0
- package/src/resources/example.ts +125 -0
- package/src/resources/markets.ts +27 -0
- package/src/resources/properties.ts +111 -0
- package/src/resources/rentals.ts +106 -0
- package/src/resources/sales.ts +104 -0
- package/tsconfig.json +8 -0
package/README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# rentcast-cli
|
|
2
|
+
|
|
3
|
+
Unofficial CLI for the [RentCast](https://www.rentcast.io) API. Made with [api2cli.dev](https://api2cli.dev).
|
|
4
|
+
|
|
5
|
+
> **Note:** This is a community-maintained project and is not officially affiliated with or endorsed by RentCast.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx api2cli install pyrytakala/rentcast-cli
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
This clones the repo, builds the CLI, links it to your PATH, and installs the AgentSkill to your coding agents.
|
|
14
|
+
|
|
15
|
+
## Install AgentSkill only
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npx skills add pyrytakala/rentcast-cli
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
rentcast-cli auth set "your-token"
|
|
25
|
+
rentcast-cli auth test
|
|
26
|
+
rentcast-cli --help
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Resources
|
|
30
|
+
|
|
31
|
+
Run `rentcast-cli --help` to see available resources.
|
|
32
|
+
|
|
33
|
+
## Global Flags
|
|
34
|
+
|
|
35
|
+
All commands support: `--json`, `--format <text|json|csv|yaml>`, `--verbose`, `--no-color`, `--no-header`
|
package/bun.lock
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"lockfileVersion": 1,
|
|
3
|
+
"configVersion": 1,
|
|
4
|
+
"workspaces": {
|
|
5
|
+
"": {
|
|
6
|
+
"name": "rentcast-cli",
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"commander": "^13.0.0",
|
|
9
|
+
"picocolors": "^1.1.0",
|
|
10
|
+
},
|
|
11
|
+
"devDependencies": {
|
|
12
|
+
"@types/bun": "latest",
|
|
13
|
+
"typescript": "^5.7.0",
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
"packages": {
|
|
18
|
+
"@types/bun": ["@types/bun@1.3.10", "", { "dependencies": { "bun-types": "1.3.10" } }, "sha512-0+rlrUrOrTSskibryHbvQkDOWRJwJZqZlxrUs1u4oOoTln8+WIXBPmAuCF35SWB2z4Zl3E84Nl/D0P7803nigQ=="],
|
|
19
|
+
|
|
20
|
+
"@types/node": ["@types/node@25.3.5", "", { "dependencies": { "undici-types": "~7.18.0" } }, "sha512-oX8xrhvpiyRCQkG1MFchB09f+cXftgIXb3a7UUa4Y3wpmZPw5tyZGTLWhlESOLq1Rq6oDlc8npVU2/9xiCuXMA=="],
|
|
21
|
+
|
|
22
|
+
"bun-types": ["bun-types@1.3.10", "", { "dependencies": { "@types/node": "*" } }, "sha512-tcpfCCl6XWo6nCVnpcVrxQ+9AYN1iqMIzgrSKYMB/fjLtV2eyAVEg7AxQJuCq/26R6HpKWykQXuSOq/21RYcbg=="],
|
|
23
|
+
|
|
24
|
+
"commander": ["commander@13.1.0", "", {}, "sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw=="],
|
|
25
|
+
|
|
26
|
+
"picocolors": ["picocolors@1.1.1", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="],
|
|
27
|
+
|
|
28
|
+
"typescript": ["typescript@5.9.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="],
|
|
29
|
+
|
|
30
|
+
"undici-types": ["undici-types@7.18.2", "", {}, "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w=="],
|
|
31
|
+
}
|
|
32
|
+
}
|