Loading...
Loading...
Publishes an api2cli-generated CLI to a GitHub repository. Handles git init, .gitignore, committing, and gh repo create. Use when user asks to "push to github", "publish to github", "create a github repo", "add to github", or "put this on github".
npx skill4agent add melvynx/api2cli api2cli-publish-to-github~/.cli/<app>-cli/gh auth statusgh auth loginLogged in to github.com account <username>~/.cli/package.json~/.cli/<app>-cli/.gitignorenode_modules/
dist/.git/git init && git add -A && git commit -m "Initial commit: <app>-cli"node_modules/dist/git rm -r --cachedgh repo create <app>-cli --public --source=. --push --description "<description from package.json>"gh repo creategit push -u origin <branch> --forcegh repo creategit push -u origin <branch><user>/<user>https://github.com/<username>/<app>-clinode_modules/dist/.env