⚡ Yixboost Games GitHub Gamepusher is a script designed to create a new GitHub repository and link it to a local folder. This tool simplifies the process of setting up a repository for your game projects, allowing you to focus more on development and less on configuration.
- Create a new GitHub repository with a single command.
- Link your local folder to the new repository.
- Initialize a local Git repository if it doesn't exist.
- Automatically push your files to GitHub.
Run the script using the following command format:
yx [repository_name] [folder_path]
- repository_name: The name of the repository you want to create on GitHub.
- folder_path: The local path to the folder you want to link to the repository.
--help
: Display the usage information.--version
: Display the version of GitHub CLI and Git installed on your system.--rick
: Display an ASCII art version of Rick.
-
Creating a new repository:
yx my-awesome-game "C:\path\to\your\game\folder"
This command creates a new repository named
my-awesome-game
and links it to the specified local folder. -
Get help information:
yx --help
-
Check the versions:
yx --version
-
If you run the script without providing a repository name, it will display an error message:
❌ Error: 😺 No GitHub repository name provided.
-
If you run the script without a folder path, it will display an error message:
❌ Error: 📂 No folder path provided.
-
The script also checks if the specified folder exists and will prompt you if it does not.
- Git must be installed.
- GitHub CLI must be installed and authenticated with your GitHub account.
This project is licensed under the GNU License.