Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete init command #1

Open
alextwothousand opened this issue Apr 17, 2021 · 1 comment
Open

Complete init command #1

alextwothousand opened this issue Apr 17, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@alextwothousand
Copy link
Contributor

alextwothousand commented Apr 17, 2021

Purpose of this command:

  • To create a brand new package.
  • Handle the initial creation of our sampgo.toml file.
  • Check whether or not sampctl is installed initially.

Process:

  • User runs this command.
  • It checks for an existing sampgo.toml
  • Based on the result found, it'll either continue or spew out an error.
  • TBC...
@alextwothousand alextwothousand added the enhancement New feature or request label Apr 17, 2021
@alextwothousand
Copy link
Contributor Author

Completed:

  • Write a handler for the command.
  • Validate the existence / potential existence of a resource file.

In progress:

  • Ask user for input based on the requirements of the resource file. (Still requires some tweaking).
  • Recursively glob all .go files as a potential entrypoint for one’s gomode.

To-do list:

  • Construct a pawn.json file, when sampctl is available.
  • If a pawn.json file is available, validate and parse into memory, and apply changes,
  • Construct a blank gamemode, when sampctl is available (see sampgo.pwn).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant