Skip to content

Click CLI #74

@emilkovacev

Description

@emilkovacev

Is your feature request related to a problem? Please describe.

We want an easy way to run the game without pre-built python files (that can be packaged and distributed easily)

Describe the solution you'd like

We can create a CLI using the Click library. This would allow us to create a cli called (let's say) $ crpg. When run without arguments, it would open up some sort of input to start a game file. Otherwise, we could call $ crpg --file="mygame.dl" that would start the specific game. We could also use this to control different features and options down the line.

Example:

$ crpg
> Welcome to Classic RPG
> What is your name?
>

Describe alternatives you've considered

The alternative is what we have now, which requires having a separate file for the .dl file to run. Instead, a CLI would make it so that once you install the CLI, you can run the game with just a .dl file.

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions