Skip to content

Add Node.js CLI application structure#1

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/build-cli-application
Draft

Add Node.js CLI application structure#1
Copilot wants to merge 2 commits intomainfrom
copilot/build-cli-application

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 3, 2026

Sets up a buildable CLI application scaffold for the GitHub Copilot CLI distribution repository.

Changes

  • package.json - npm package config with @github/copilot name, bin entry point, build/test scripts
  • src/index.js - CLI entry point with argument parsing for --help, --version, --banner, --experimental
  • test/cli.test.js - Unit tests using Node.js built-in test runner
  • .gitignore - Standard exclusions for node_modules, build artifacts, IDE files

Usage

npm run build        # Build CLI
npm test             # Run tests (7 passing)
node src/index.js    # Run CLI

copilot --help       # Show usage
copilot --version    # Show version
copilot --banner     # Display banner
Original prompt

https://github.com/CarlSp8/copilot-cli.git build


💡 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: CarlSp8 <249240924+CarlSp8@users.noreply.github.com>
Copilot AI changed the title [WIP] Build CLI application for project Add Node.js CLI application structure Feb 3, 2026
Copilot AI requested a review from CarlSp8 February 3, 2026 04:57
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