1.3 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			1.3 KiB
		
	
	
	
	
	
	
	
Project Creator
This is a simple CLI app to create Github project.
Description
The Project Creator GO app allows you to:
- Create a Github project (repo)
 - Initialize a Git repository
 - Create an initial commit
 - Generate a README.md file
 
It uses the Github API to create projects.
Usage
To build and run the app:
go build
./prj-creator.exe 
This will show the help menu. The main commands are:
create- Create a Github projectlist- List Github orgs and repos
To create a project:
./prj-creator.exe create -t <github_token> -o <org_name> -n <project_name> -d <description> -p <private|false>
For example:
./prj-creator.exe create -t abc123 -o myorg -n myproject -d "A test project" -p false
This will:
- Create a public Github repo named 
myprojectin themyorgorg - Create a directory named 
myproject - Initialize a Git repo
 - Make an initial commit
 - Generate a README.md
 
To list Github orgs and repos:
./prj-creator.exe list -t <github_token> -o <org_name>  
For example:
./prj-creator.exe list -t abc123 -o myorg
This will list the repos in the myorg organization.
Environment Variables
You can set the following environment variables:
GIT_TOKEN- Your Github personal access token. This will be used instead of passing the-tflag.
##License
MIT License.