Skip to content

Added CLI arguments to support custom kingdom configuration#8

Open
burtonjb wants to merge 3 commits intomainfrom
config
Open

Added CLI arguments to support custom kingdom configuration#8
burtonjb wants to merge 3 commits intomainfrom
config

Conversation

@burtonjb
Copy link
Copy Markdown
Owner

@burtonjb burtonjb commented Apr 9, 2023

No description provided.

Comment thread docs/game_config_mock.txt
Comment thread src/game-config.ts
Comment on lines +34 to +38
disableExpansions: args.get("disable-expansions") as Array<string> | undefined,
forceExpansions: args.get("force-expansions") as Array<string> | undefined,

disableCards: args.get("disable-cards") as Array<string> | undefined,
forceCards: args.get("force-cards") as Array<string> | undefined,
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better validation is required here. If the comma is missing it will be treated as a string and cause errors later on, so have some way to force this to be an array

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant