Skip to content

Commit c482300

Browse files
undo "refactor: deprecate cli"
1 parent 934e9b1 commit c482300

20 files changed

+23
-1173
lines changed

.github/workflows/update.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: update
2+
3+
on:
4+
schedule:
5+
- cron: 0 0 * * *
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
update:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Run updater
20+
uses: boywithkeyboard/updater@v0

docs/alternative_uses.md

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
> [!CAUTION]\
2-
> The CLI will no longer receive any updates and is **scheduled for removal in
3-
> v0.30**. Please use the GitHub action as described in the README instead!
4-
51
## CLI
62

73
The entry point can be either a directory or file. You can also specify multiple

mod.ts

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
import * as colors from 'std/fmt/colors.ts'
2-
import { cli } from './original_cli/script/main.ts'
1+
import { cli } from './script/main.ts'
32

43
if (import.meta.main) {
5-
console.warn(
6-
colors.red(
7-
colors.bold('The CLI is no longer supported!') + ' ' +
8-
'Please use the boywithkeyboard/updater GitHub action instead!',
9-
),
10-
)
11-
124
cli()
135
}
146

15-
export { checkImport } from './original_cli/script/checkImport.ts'
16-
export { update } from './original_cli/script/update.ts'
7+
export { checkImport } from './script/checkImport.ts'
8+
export { update } from './script/update.ts'

original_cli/registries/cdn.jsdelivr.net.ts

-73
This file was deleted.

original_cli/registries/den.ooo/alias.ts

-59
This file was deleted.

original_cli/registries/den.ooo/gh.ts

-37
This file was deleted.

original_cli/registries/den.ooo/gl.ts

-53
This file was deleted.

original_cli/registries/deno.land.ts

-59
This file was deleted.

original_cli/registries/denopkg.com.ts

-29
This file was deleted.

0 commit comments

Comments
 (0)