0.0.4 • Published 4 years ago
@aacc/ginit v0.0.4
@aacc/ginit
Easily initialize a local and remote repository
Usage
npx @aacc/ginit <repo-name>Automatically add a .gitignore file from GitHub's .gitignore templates
TEMPLATE=node npx @aacc/ginit <repo-name>Important
This tool uses the GitHub GraphQL API and thus requires a GitHub access token. Create an access token with the repo scope here: https://github.com/settings/tokens/new.
After generating an access token you can set it as a global environment variable or pass it directly to the npx command.
Example
GITHUB_TOKEN="abc123" npx @aacc/ginit <repo-name>Or globally...
echo 'export AACC_GINIT_TOKEN="abc123"' >> ~/.zshrc
npx @aacc/ginit <repo-name>