Skip to content

Configure as a Go CLI tool#1

Closed
pelikhan with Copilot wants to merge 2 commits into
mainfrom
copilot/configure-go-cli-tool
Closed

Configure as a Go CLI tool#1
pelikhan with Copilot wants to merge 2 commits into
mainfrom
copilot/configure-go-cli-tool

Conversation

Copilot AI commented Dec 10, 2025

Copy link
Copy Markdown
Contributor

Bootstraps the repository as a Go CLI tool with minimal boilerplate.

Changes

  • Go module: Initialized github.com/githubnext/gh-aw-mcpg with Go 1.24.10
  • CLI entry point: Created main.go with help/version commands using stdlib
  • Documentation: Updated README with build instructions and usage examples
  • Git ignore: Excluded built binary from version control

Usage

$ go build -o gh-aw-mcpg .
$ ./gh-aw-mcpg version
gh-aw-mcpg version 0.1.0

$ ./gh-aw-mcpg
gh-aw-mcpg - Github Agentic Workflows MCP Gateway

Usage:
  gh-aw-mcpg [command]

Available Commands:
  help       Display help information
  version    Display version information

The CLI structure is ready for extension with additional commands and functionality.

Original prompt

Configure as a Go CLI tool.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Configure project as a Go CLI tool Configure as a Go CLI tool Dec 10, 2025
Copilot AI requested a review from pelikhan December 10, 2025 21:53
@pelikhan pelikhan closed this Dec 20, 2025
@pelikhan
pelikhan deleted the copilot/configure-go-cli-tool branch January 7, 2026 22:14
Copilot AI added a commit that referenced this pull request Jan 20, 2026
- Add ExtractSessionID function to internal/auth/header.go
- Update internal/server/auth.go to delegate to auth.ExtractSessionID
- Add comprehensive tests for ExtractSessionID
- Eliminates duplicate authorization parsing logic (Pattern #1 from issue #352)

Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
@github-actions

This comment has been minimized.

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Second comment test for max:2 enforcement validation.

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • awmgmcpg

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "awmgmcpg"

See Network Configuration for more information.

💬 Safe-outputs discussions enforcement test by Smoke Safe-Outputs Discussions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants