mirror of
https://github.com/daydreamer-json/ak-endfield-api-archive.git
synced 2026-02-04 06:15:04 +01:00
Update README
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import path from 'node:path';
|
||||
import yargs from 'yargs';
|
||||
import { hideBin } from 'yargs/helpers';
|
||||
import cmds from './cmds.js';
|
||||
@@ -33,7 +34,7 @@ async function parseCommand() {
|
||||
'output-dir': {
|
||||
alias: ['o'],
|
||||
desc: 'Output root directory',
|
||||
default: appConfig.file.outputDirPath,
|
||||
default: path.resolve('output'),
|
||||
normalize: true,
|
||||
type: 'string',
|
||||
},
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import path from 'node:path';
|
||||
import deepmerge from 'deepmerge';
|
||||
import YAML from 'yaml';
|
||||
// import * as TypesGameEntry from '../types/GameEntry.js';
|
||||
@@ -13,9 +12,6 @@ type AllRequired<T> = Required<{
|
||||
|
||||
type ConfigType = AllRequired<
|
||||
Freeze<{
|
||||
file: {
|
||||
outputDirPath: string;
|
||||
};
|
||||
network: {
|
||||
api: {
|
||||
akEndfield: {
|
||||
@@ -56,9 +52,6 @@ type ConfigType = AllRequired<
|
||||
>;
|
||||
|
||||
const initialConfig: ConfigType = {
|
||||
file: {
|
||||
outputDirPath: path.resolve('output'),
|
||||
},
|
||||
network: {
|
||||
api: {
|
||||
akEndfield: {
|
||||
|
||||
Reference in New Issue
Block a user