@anyr/cli 0.2.0

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.
Files changed (3) hide show
  1. package/README.md +11 -0
  2. package/bin.mjs +8 -0
  3. package/package.json +34 -0
package/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # @anyr/cli
2
+
3
+ Short alias of [`@anyrouterdev/cli`](https://www.npmjs.com/package/@anyrouterdev/cli) — the [AnyRouter](https://anyrouter.dev) CLI.
4
+
5
+ ```bash
6
+ npx @anyr/cli # full CLI: setup, models, config, cc, claude, codex
7
+ npx @anyr/cc # launch Claude Code
8
+ npx @anyr/codex # launch Codex
9
+ ```
10
+
11
+ Full docs: https://anyrouter.dev/docs/guides/cli
package/bin.mjs ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env node
2
+ // @anyr/cli — short alias of @anyrouterdev/cli. Delegates to the single core
3
+ // implementation so both scopes stay identical.
4
+ import { main } from "@anyrouterdev/cli"
5
+
6
+ main(process.argv.slice(2)).then((code) => {
7
+ process.exitCode = code
8
+ })
package/package.json ADDED
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "@anyr/cli",
3
+ "version": "0.2.0",
4
+ "description": "Short alias of @anyrouterdev/cli — the AnyRouter CLI. One key launches Claude Code, Codex, and more through the gateway. `npx @anyr/cli`",
5
+ "type": "module",
6
+ "bin": {
7
+ "anyr": "bin.mjs"
8
+ },
9
+ "files": [
10
+ "bin.mjs",
11
+ "README.md"
12
+ ],
13
+ "keywords": [
14
+ "anyrouter",
15
+ "llm",
16
+ "gateway",
17
+ "claude-code",
18
+ "codex",
19
+ "cli"
20
+ ],
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "git+https://github.com/duyet/anyrouter.git",
24
+ "directory": "cli/launchers/anyr-cli"
25
+ },
26
+ "homepage": "https://anyrouter.dev/docs/guides/cli",
27
+ "license": "MIT",
28
+ "dependencies": {
29
+ "@anyrouterdev/cli": "^0.2.0"
30
+ },
31
+ "engines": {
32
+ "node": ">=18"
33
+ }
34
+ }