Compare commits
1 commit
1440ea2c5e
...
4eb03c0c0d
Author | SHA1 | Date | |
---|---|---|---|
4eb03c0c0d |
4 changed files with 6 additions and 15 deletions
|
@ -9,8 +9,8 @@ $ npx https://git.fogtype.com/nebel/gadl/archive/main.tar.gz --help
|
||||||
|
|
||||||
## Supported Sites
|
## Supported Sites
|
||||||
|
|
||||||
- DMM ブックス (漫画)
|
- [x] DMM ブックス (漫画)
|
||||||
- Google Play ブックス (漫画)
|
- [ ] Google Play ブックス (漫画)
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
11
main.ts
11
main.ts
|
@ -159,7 +159,6 @@ const options = {
|
||||||
},
|
},
|
||||||
version: {
|
version: {
|
||||||
type: "boolean",
|
type: "boolean",
|
||||||
short: "v",
|
|
||||||
run() {
|
run() {
|
||||||
console.log(pkg.version);
|
console.log(pkg.version);
|
||||||
},
|
},
|
||||||
|
@ -171,15 +170,7 @@ const options = {
|
||||||
console.log(
|
console.log(
|
||||||
[
|
[
|
||||||
"Available options:",
|
"Available options:",
|
||||||
...Object.entries(options).map((option) =>
|
...Object.keys(options).map((option) => ` --${option}`),
|
||||||
[
|
|
||||||
` --${option[0]}`,
|
|
||||||
"short" in option[1] && ` -${option[1].short}`,
|
|
||||||
option[1].type === "string" && "=<value>",
|
|
||||||
]
|
|
||||||
.filter(Boolean)
|
|
||||||
.join(""),
|
|
||||||
),
|
|
||||||
].join("\n"),
|
].join("\n"),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@fogtype/gadl",
|
"name": "@fogtype/gadl",
|
||||||
"version": "1.0.0",
|
"version": "0.1.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@fogtype/gadl",
|
"name": "@fogtype/gadl",
|
||||||
"version": "1.0.0",
|
"version": "0.1.0",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fflate": "^0.8.1",
|
"fflate": "^0.8.1",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@fogtype/gadl",
|
"name": "@fogtype/gadl",
|
||||||
"version": "1.0.0",
|
"version": "0.1.0",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"bin": "bin/run.js",
|
"bin": "bin/run.js",
|
||||||
|
|
Loading…
Add table
Reference in a new issue