expect-cli 0.0.1 → 0.0.3

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 CHANGED
@@ -1,67 +1,53 @@
1
- # expect
1
+ # <img src="https://github.com/millionco/testie/blob/main/apps/website/public/icon.svg?raw=true" width="60" align="center" /> Expect
2
2
 
3
3
  [![version](https://img.shields.io/npm/v/expect-cli?style=flat&colorA=000000&colorB=000000)](https://npmjs.com/package/expect-cli)
4
4
  [![downloads](https://img.shields.io/npm/dt/expect-cli.svg?style=flat&colorA=000000&colorB=000000)](https://npmjs.com/package/expect-cli)
5
5
 
6
6
  Let agents test your code in a real browser. One command scans your unstaged changes or branch diff, generates a test plan, and runs it against a live browser.
7
7
 
8
- **[Website](https://expect.dev)** | **[See it in action](https://expect.dev)**
8
+ ### **[See it in action](https://expect.dev)**
9
9
 
10
10
  ## Install
11
11
 
12
12
  ```bash
13
- npx expect-cli@latest
13
+ npx -y expect-cli@latest init
14
14
  ```
15
15
 
16
- Or install globally:
16
+ ## Usage
17
17
 
18
- ```bash
19
- npm install -g expect-cli
20
18
  ```
19
+ Usage: expect [options] [command]
21
20
 
22
- Then run from your project root:
23
-
24
- ```bash
25
- expect
26
- ```
27
-
28
- ## Usage with coding agents
21
+ Options:
22
+ -m, --message <instruction> natural language instruction for what to test
23
+ -f, --flow <slug> reuse a saved flow by slug
24
+ -y, --yes skip plan review, run immediately
25
+ -a, --agent <provider> agent provider to use (claude or codex)
26
+ -t, --target <target> what to test: unstaged, branch, or changes (default: changes)
27
+ --verbose enable verbose logging
28
+ -v, --version print version
29
+ -h, --help display help
29
30
 
30
- Point your agent at expect and let it test your changes:
31
+ Commands:
32
+ init install expect globally and set up skill
31
33
 
32
- ```bash
33
- EXPECT_BASE_URL=http://localhost:3000 expect -m "Test the signup flow" -y
34
+ Examples:
35
+ $ expect open interactive TUI
36
+ $ expect -m "test the login flow" -y plan and run immediately
37
+ $ expect --target branch test all branch changes
38
+ $ expect --target unstaged test unstaged changes
34
39
  ```
35
40
 
36
- The `-y` flag skips plan review so agents can run non-interactively.
41
+ ## Resources & Contributing Back
37
42
 
38
- Expect auto-detects agent environments (`CLAUDECODE`, `CURSOR_AGENT`, `CODEX_CI`, `CI`, etc.) and switches to headless mode.
43
+ Want to try it out? Check out [our demo](https://expect.dev).
39
44
 
40
- ## Commands
45
+ Find a bug? Head over to our [issue tracker](https://github.com/millionco/expect/issues) and we'll do our best to help. We love pull requests, too!
41
46
 
42
- ```
43
- Usage: expect [command] [options]
44
-
45
- Commands:
46
- unstaged test current unstaged changes (default)
47
- branch test full branch diff vs main
48
- ```
47
+ We expect all contributors to abide by the terms of our [Code of Conduct](https://github.com/aidenybai/react-grab/blob/main/.github/CODE_OF_CONDUCT.md).
49
48
 
50
- ## Options
51
-
52
- ```
53
- Options:
54
- -m, --message <instruction> natural language instruction for what to test
55
- -f, --flow <slug> reuse a saved flow by slug
56
- -y, --yes skip plan review, run immediately
57
- --base-url <url> browser base URL
58
- --headed run browser visibly instead of headless
59
- --cookies sync cookies from your browser profile
60
- --no-cookies disable cookie sync
61
- -v, --version print version
62
- -h, --help display help
63
- ```
49
+ [**→ Start contributing on GitHub**](https://github.com/aidenybai/react-grab/blob/main/CONTRIBUTING.md)
64
50
 
65
- ## License
51
+ ### License
66
52
 
67
53
  FSL-1.1-MIT © [Million Software, Inc.](https://million.dev)