cashclaw 1.0.0 → 1.0.2
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 +3 -9
- package/cover.jpeg +0 -0
- package/package.json +1 -1
- package/src/cli/index.js +4 -1
- package/src/cli/utils/banner.js +9 -2
package/README.md
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="
|
|
3
|
-
</p>
|
|
4
|
-
|
|
5
|
-
<h1 align="center">CashClaw</h1>
|
|
6
|
-
|
|
7
|
-
<p align="center">
|
|
8
|
-
<strong>Turn your OpenClaw into a money-making machine.</strong>
|
|
2
|
+
<img src="cover.jpeg" alt="CashClaw - Turn Your AI Agent Into a Money-Making Machine" width="100%" />
|
|
9
3
|
</p>
|
|
10
4
|
|
|
11
5
|
<p align="center">
|
|
@@ -20,8 +14,8 @@
|
|
|
20
14
|
|
|
21
15
|
<p align="center">
|
|
22
16
|
<a href="https://www.npmjs.com/package/cashclaw"><img src="https://img.shields.io/npm/v/cashclaw?color=crimson&label=npm" alt="npm version" /></a>
|
|
23
|
-
<a href="https://github.com/
|
|
24
|
-
<a href="https://github.com/
|
|
17
|
+
<a href="https://github.com/ertugrulakben/cashclaw/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="license" /></a>
|
|
18
|
+
<a href="https://github.com/ertugrulakben/cashclaw/stargazers"><img src="https://img.shields.io/github/stars/ertugrulakben/cashclaw?style=social" alt="stars" /></a>
|
|
25
19
|
<a href="https://hyrveai.com"><img src="https://img.shields.io/badge/powered%20by-HYRVEai-ff6b35" alt="HYRVEai" /></a>
|
|
26
20
|
</p>
|
|
27
21
|
|
package/cover.jpeg
ADDED
|
Binary file
|
package/package.json
CHANGED
package/src/cli/index.js
CHANGED
|
@@ -16,6 +16,9 @@ import { fileURLToPath } from 'url';
|
|
|
16
16
|
const __filename = fileURLToPath(import.meta.url);
|
|
17
17
|
const __dirname = path.dirname(__filename);
|
|
18
18
|
|
|
19
|
+
const pkgPath = path.resolve(__dirname, '../../package.json');
|
|
20
|
+
const pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf-8'));
|
|
21
|
+
|
|
19
22
|
const orange = chalk.hex('#FF6B35');
|
|
20
23
|
const green = chalk.hex('#16C784');
|
|
21
24
|
const dim = chalk.dim;
|
|
@@ -25,7 +28,7 @@ const program = new Command();
|
|
|
25
28
|
program
|
|
26
29
|
.name('cashclaw')
|
|
27
30
|
.description('Turn your OpenClaw AI agent into a freelance business')
|
|
28
|
-
.version(
|
|
31
|
+
.version(pkg.version, '-v, --version');
|
|
29
32
|
|
|
30
33
|
// ─── cashclaw init ─────────────────────────────────────────────────────
|
|
31
34
|
program
|
package/src/cli/utils/banner.js
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import chalk from 'chalk';
|
|
2
2
|
import boxen from 'boxen';
|
|
3
|
+
import fs from 'fs';
|
|
4
|
+
import path from 'path';
|
|
5
|
+
import { fileURLToPath } from 'url';
|
|
6
|
+
|
|
7
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
8
|
+
const __dirname = path.dirname(__filename);
|
|
9
|
+
const pkg = JSON.parse(fs.readFileSync(path.resolve(__dirname, '../../../package.json'), 'utf-8'));
|
|
3
10
|
|
|
4
11
|
const orange = chalk.hex('#FF6B35');
|
|
5
12
|
const green = chalk.hex('#16C784');
|
|
@@ -15,7 +22,7 @@ const LOGO = `
|
|
|
15
22
|
|
|
16
23
|
export function showBanner() {
|
|
17
24
|
const logoColored = orange.bold(LOGO);
|
|
18
|
-
const version = dim(
|
|
25
|
+
const version = dim(`v${pkg.version}`);
|
|
19
26
|
const tagline = green('Turn your AI agent into a freelance business');
|
|
20
27
|
const site = dim('https://cashclawai.com');
|
|
21
28
|
|
|
@@ -37,7 +44,7 @@ export function showBanner() {
|
|
|
37
44
|
export function showMiniBanner() {
|
|
38
45
|
console.log(
|
|
39
46
|
orange.bold('\n CashClaw') +
|
|
40
|
-
dim(
|
|
47
|
+
dim(` v${pkg.version}`) +
|
|
41
48
|
green(' | ') +
|
|
42
49
|
dim('cashclawai.com\n')
|
|
43
50
|
);
|